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

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

[elpa] master 1870f41 272/348: counsel.el: Fix counsel-command-history


From: Oleh Krehel
Subject: [elpa] master 1870f41 272/348: counsel.el: Fix counsel-command-history
Date: Sat, 8 Apr 2017 11:04:13 -0400 (EDT)

branch: master
commit 1870f41275c213017c4b0d68c89637399004cf0a
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el: Fix counsel-command-history
    
    Re #826
---
 counsel.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/counsel.el b/counsel.el
index 6290ba7..8998314 100644
--- a/counsel.el
+++ b/counsel.el
@@ -3053,10 +3053,7 @@ candidate."
 (defun counsel-command-history ()
   "Show the history of commands."
   (interactive)
-  (ivy-read "%d Command: "
-            (mapcar (lambda (x)
-                        (format "%s" x))
-                    command-history)
+  (ivy-read "%d Command: " (mapcar #'prin1-to-string command-history)
           :require-match t
           :action #'counsel-command-history-action-eval
           :caller 'counsel-command-history))



reply via email to

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