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

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

[elpa] master 482c3e9 279/348: counsel.el (counsel-ace-link): Use `cdr'


From: Oleh Krehel
Subject: [elpa] master 482c3e9 279/348: counsel.el (counsel-ace-link): Use `cdr' for action.
Date: Sat, 8 Apr 2017 11:04:14 -0400 (EDT)

branch: master
commit 482c3e9842e545db352237d448109154de87aa7d
Author: momomo5717 <address@hidden>
Commit: momomo5717 <address@hidden>

    counsel.el (counsel-ace-link): Use `cdr' for action.
---
 counsel.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index 68a7b17..108c4e0 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2386,7 +2386,7 @@ An extra action allows to switch to the process buffer."
     (if (null collection)
         (error "%S is not supported" major-mode)
       (ivy-read "Ace-Link: " (funcall collection)
-                :action action
+                :action (lambda (x) (funcall action (cdr x)))
                 :require-match t
                 :caller 'counsel-ace-link))))
 ;;** `counsel-expression-history'



reply via email to

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