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

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

[elpa] master 9e3c855 052/399: ivy.el (ivy-make-magic-action): Fix bug


From: Oleh Krehel
Subject: [elpa] master 9e3c855 052/399: ivy.el (ivy-make-magic-action): Fix bug
Date: Sat, 20 Jul 2019 14:56:47 -0400 (EDT)

branch: master
commit 9e3c8554ee89197a05da2b0e99e2c4b82e7c3b37
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    ivy.el (ivy-make-magic-action): Fix bug
---
 ivy.el | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/ivy.el b/ivy.el
index ce26c1d..121b793 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2860,14 +2860,11 @@ Possible choices are 
'ivy-magic-slash-non-match-cd-selected,
 This happens only when the input is empty.
 The intention is to bind the result to keys that are typically
 bound to `self-insert-command'."
-  (let ((alist (assoc key
-                      (plist-get
-                       ivy--actions-list
-                       caller)))
-        (action (nth 1 alist))
-        (doc (concat (nth 2 alist)
-                     "\n\n"
-                     (documentation action))))
+  (let* ((alist (assoc key
+                       (plist-get
+                        ivy--actions-list
+                        caller)))
+         (doc (nth 2 alist)))
     `(lambda (&optional arg)
        ,doc
        (interactive "p")



reply via email to

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