branch: master commit 64d03d9d1e8f43fba54dc7e16acba03d54710a1a Author: Stephen Leake <stephen_le...@stephe-leake.org> Commit: Stephen Leake <stephen_le...@stephe-leake.org>
Release path-iterator.el, uniquify-files.el * packages/path-iterator/path-iterator.el: Bump version for release. * packages/uniquify-files/uniquify-files.el: Bump version for release. Handle emacs < 27 in project integration. --- packages/path-iterator/path-iterator.el | 2 +- packages/uniquify-files/uniquify-files.el | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/path-iterator/path-iterator.el b/packages/path-iterator/path-iterator.el index e99cfcc..efd651a 100644 --- a/packages/path-iterator/path-iterator.el +++ b/packages/path-iterator/path-iterator.el @@ -4,7 +4,7 @@ ;; ;; Author: Stephen Leake <stephen_le...@stephe-leake.org> ;; Maintainer: Stephen Leake <stephen_le...@stephe-leake.org> -;; Version: 0 +;; Version: 1.0 ;; package-requires: ((emacs "25.0")) ;; diff --git a/packages/uniquify-files/uniquify-files.el b/packages/uniquify-files/uniquify-files.el index aff8c22..c779d47 100644 --- a/packages/uniquify-files/uniquify-files.el +++ b/packages/uniquify-files/uniquify-files.el @@ -6,8 +6,8 @@ ;; Maintainer: Stephen Leake <stephen_le...@stephe-leake.org> ;; Keywords: completion table ;; uniquify -;; Version: 0 -;; package-requires: ((emacs "25.0") (path-iterator "1.0")) +;; Version: 1.0 +;; package-requires: ((emacs "25.0")) ;; ;; This file is part of GNU Emacs. ;; @@ -307,6 +307,8 @@ done on UNIQIFIED-NAME, PRED is called with ABS-NAME." ;;; Integration with project.el +(when (fboundp 'project--read-file-cpd-relative) + ;; emacs 27 ;;;###autoload (defun uniq-file-read (prompt all-files &optional predicate hist default) "For `project-read-file-name-function'." @@ -318,6 +320,7 @@ done on UNIQIFIED-NAME, PRED is called with ABS-NAME." ;;;###autoload (setq-default project-read-file-name-function #'uniq-file-read) +) (provide 'uniquify-files) ;;; uniquify-files.el ends here