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

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

[elpa] master e6f92fd 191/272: ivy.el (ivy-occur-press): Add counsel-des


From: Oleh Krehel
Subject: [elpa] master e6f92fd 191/272: ivy.el (ivy-occur-press): Add counsel-describe-function
Date: Mon, 25 Apr 2016 10:13:25 +0000

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

    ivy.el (ivy-occur-press): Add counsel-describe-function
    
    and counsel-describe-variable to the current-window work-around.
    
    Since they can switch the buffer, ensure that the occur buffer stays
    active, so that the calling state ("c") still allows to quickly cycle
    through all those buffers.
---
 ivy.el |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 91c8076..550e31d 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2881,7 +2881,8 @@ EVENT gives the mouse position."
           (beginning-of-line)
           (looking-at "\\(?:./\\|    \\)\\(.*\\)$"))
     (when (memq (ivy-state-caller ivy-occur-last)
-                '(swiper counsel-git-grep counsel-grep counsel-ag))
+                '(swiper counsel-git-grep counsel-grep counsel-ag
+                  counsel-describe-function counsel-describe-variable))
       (let ((window (ivy-state-window ivy-occur-last)))
         (when (or (null (window-live-p window))
                   (equal window (selected-window)))



reply via email to

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