[Top][All Lists]

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

[elpa] master 77a5ffc 261/399: counsel.el (counsel-package-history): New

From: Oleh Krehel
Subject: [elpa] master 77a5ffc 261/399: counsel.el (counsel-package-history): New history variable
Date: Sat, 20 Jul 2019 14:57:36 -0400 (EDT)

branch: master
commit 77a5ffc3357ed5b01e0883fa001815d1b23e2a23
Author: Iku Iwasa <address@hidden>
Commit: Iku Iwasa <address@hidden>

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

diff --git a/counsel.el b/counsel.el
index 0034b27..f5d7f8d 100644
--- a/counsel.el
+++ b/counsel.el
@@ -3580,6 +3580,9 @@ Position of selected mark outside accessible part of 
 (declare-function package-delete "package")
 (declare-function package-desc-extras "package")
+(defvar counsel-package-history nil
+  "History for `counsel-package'.")
 (defun counsel--package-candidates ()
   "Return completion alist for `counsel-package'."
   (unless package--initialized
@@ -3612,6 +3615,7 @@ Additional actions:\\<ivy-minibuffer-map>
             :action #'counsel-package-action
             :require-match t
+            :history 'counsel-package-history
             :caller 'counsel-package))
 (cl-pushnew '(counsel-package . "^+") ivy-initial-inputs-alist :key #'car)

reply via email to

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