emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/uniquify-files 2257858 18/22: Release path-iterator.el,


From: Stefan Monnier
Subject: [elpa] externals/uniquify-files 2257858 18/22: Release path-iterator.el, uniquify-files.el
Date: Tue, 1 Dec 2020 17:36:22 -0500 (EST)

branch: externals/uniquify-files
commit 22578584e204b33b0744289e73b429665f253cc5
Author: Stephen Leake <stephen_leake@stephe-leake.org>
Commit: Stephen Leake <stephen_leake@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.
---
 uniquify-files.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/uniquify-files.el b/uniquify-files.el
index aff8c22..c779d47 100644
--- a/uniquify-files.el
+++ b/uniquify-files.el
@@ -6,8 +6,8 @@
 ;; Maintainer: Stephen Leake <stephen_leake@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]