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

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

[nongnu] elpa/helm e56d0a82a4: Allow reverse history in eshell command o


From: ELPA Syncer
Subject: [nongnu] elpa/helm e56d0a82a4: Allow reverse history in eshell command on file
Date: Mon, 29 May 2023 13:03:31 -0400 (EDT)

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

    Allow reverse history in eshell command on file
---
 helm-files.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/helm-files.el b/helm-files.el
index 7cd60eb924..a0a5b8ffb4 100644
--- a/helm-files.el
+++ b/helm-files.el
@@ -711,6 +711,10 @@ when moving out of directory when non nil."
   "A list of eshell aliases to not display."
   :type '(repeat string))
 
+(defcustom helm-eshell-on-file-reverse-history t
+  "History source in *eshell-command-on-file appears on top when non nil."
+  :type 'boolean)
+
 (defcustom helm-find-files-actions
   (helm-make-actions
    "Find File" 'helm-find-file-or-marked
@@ -1621,6 +1625,7 @@ this working."
                  :help-message 'helm-esh-help-message
                  :history 'helm-eshell-command-on-file-history
                  :raw-history t
+                 :reverse-history helm-eshell-on-file-reverse-history
                  :input-history
                  'helm-eshell-command-on-file-input-history))))
            (alias-value (car (assoc-default command 
eshell-command-aliases-list)))



reply via email to

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