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

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

[nongnu] elpa/helm b84f19c779 3/5: Fix :type in helm-ff-edit-marked-file


From: ELPA Syncer
Subject: [nongnu] elpa/helm b84f19c779 3/5: Fix :type in helm-ff-edit-marked-files-fn defcustom
Date: Tue, 17 Jan 2023 10:59:12 -0500 (EST)

branch: elpa/helm
commit b84f19c779e31ec7e8edb0d5289cc10a1dc8d71a
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>

    Fix :type in helm-ff-edit-marked-files-fn defcustom
---
 helm-files.el | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index 9e7421c322..8c5ad68dc7 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -841,9 +841,14 @@ present in this list."
          (when helm-ff-icon-mode
            (helm-ff-icon-mode 1))))
 
-(defcustom helm-ff-edit-marked-files-fn #'helm-marked-files-in-dired
+(defcustom helm-ff-edit-marked-files-fn (if (< emacs-major-version 29)
+                                            #'helm-ff-wfnames
+                                          #'helm-marked-files-in-dired)
   "A function to edit filenames in a special buffer."
-  :type 'function)
+  :type '(choice (function :tag "Use Wfnames package to edit filenames."
+                  helm-ff-wfnames)
+                 (function :tag "Use Wdired package to edit filenames."
+                  helm-marked-files-in-dired)))
 
 ;;; Faces
 ;;



reply via email to

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