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

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

[elpa] master 743163c 260/399: counsel.el (counsel-minor-history): New h


From: Oleh Krehel
Subject: [elpa] master 743163c 260/399: counsel.el (counsel-minor-history): New history variable
Date: Sat, 20 Jul 2019 14:57:36 -0400 (EDT)

branch: master
commit 743163c542afd9433c374cc07734113019ffd668
Author: Iku Iwasa <address@hidden>
Commit: Iku Iwasa <address@hidden>

    counsel.el (counsel-minor-history): New history variable
---
 counsel.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/counsel.el b/counsel.el
index 139e5f1..0034b27 100644
--- a/counsel.el
+++ b/counsel.el
@@ -5493,6 +5493,9 @@ specified by the `blddir' property."
               :caller 'counsel-compile-env)))
 
 ;;** `counsel-minor'
+(defvar counsel-minor-history nil
+  "History for `counsel-minor'.")
+
 (defun counsel--minor-candidates ()
   "Return completion alist for `counsel-minor'.
 
@@ -5533,6 +5536,7 @@ Additional actions:\\<ivy-minibuffer-map>
   (ivy-read "Minor modes (enable +mode or disable -mode): "
             (counsel--minor-candidates)
             :require-match t
+            :history 'counsel-minor-history
             :sort t
             :action (lambda (x)
                       (call-interactively (cdr x)))))



reply via email to

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