branch: master
commit fbc8665e3afa039e53d7efcee5cadb084617a836
Author: Stephen Leake <stephen_le...@stephe-leake.org>
Commit: Stephen Leake <stephen_le...@stephe-leake.org>

    In uniquify-files.el, improve integration with project.el, bump version
---
 packages/uniquify-files/uniquify-files.el | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/packages/uniquify-files/uniquify-files.el 
b/packages/uniquify-files/uniquify-files.el
index f0fb010..ed8b16c 100644
--- a/packages/uniquify-files/uniquify-files.el
+++ b/packages/uniquify-files/uniquify-files.el
@@ -6,7 +6,7 @@
 ;; Maintainer: Stephen Leake <stephen_le...@stephe-leake.org>
 ;; Keywords: completion table
 ;;   uniquify
-;; Version: 1.0.1
+;; Version: 1.0.2
 ;; package-requires: ((emacs "25.0"))
 ;;
 ;; This file is part of GNU Emacs.
@@ -306,10 +306,8 @@ done on UNIQIFIED-NAME, PRED is called with ABS-NAME."
               uniq-file-all-completions
               "display uniquified file names."))
 
-;;; Integration with project.el
+;;; Integration with emacs 27 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'."
@@ -321,7 +319,6 @@ 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

Reply via email to