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

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

[nongnu] elpa/helm 1bbcb45829: Use wfnames package as dependency


From: ELPA Syncer
Subject: [nongnu] elpa/helm 1bbcb45829: Use wfnames package as dependency
Date: Wed, 12 Jul 2023 09:59:55 -0400 (EDT)

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

    Use wfnames package as dependency
---
 helm-files.el | 11 +++++++----
 helm.el       |  2 +-
 2 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/helm-files.el b/helm-files.el
index 809844d213..d376a9523c 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -852,10 +852,13 @@ present in this list."
          ;; Force rebuilding the source to remove the highlight match FCT.
          (setq helm-source-find-files nil)))
 
-(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."
+(defcustom helm-ff-edit-marked-files-fn #'helm-ff-wfnames
+  "A function to edit filenames in a special buffer.
+
+By default `wfnames' package is used to avoid wdired which doesn't
+always work with all emacs versions and also is quite clumsy about
+default-directory among other things.
+If you still want to use it, helm is still providing 
`helm-marked-files-in-dired'."
   :type '(choice (function :tag "Use Wfnames package to edit filenames."
                   helm-ff-wfnames)
                  (function :tag "Use Wdired package to edit filenames."
diff --git a/helm.el b/helm.el
index 3468f10357..cdba4e471a 100644
--- a/helm.el
+++ b/helm.el
@@ -13,7 +13,7 @@
 ;; Author: Thierry Volpiatto <thievol@posteo.net>
 ;; Version: 3.9.1
 ;; URL: https://emacs-helm.github.io/helm/
-;; Package-Requires: ((helm-core "3.9.1") (popup "0.5.3"))
+;; Package-Requires: ((helm-core "3.9.1") (wfnames "1.1") (popup "0.5.3"))
 
 ;; This program is free software; you can redistribute it and/or modify
 ;; it under the terms of the GNU General Public License as published by



reply via email to

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