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

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

[elpa] master 2b8d324 299/348: counsel.el (counsel-org-tag-action): Fix


From: Oleh Krehel
Subject: [elpa] master 2b8d324 299/348: counsel.el (counsel-org-tag-action): Fix "C-M-m"
Date: Sat, 8 Apr 2017 11:04:18 -0400 (EDT)

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

    counsel.el (counsel-org-tag-action): Fix "C-M-m"
    
    It has to be performed in the minibuffer window.
    
    Re #890
---
 counsel.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/counsel.el b/counsel.el
index be56684..af1fb74 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2105,7 +2105,8 @@ INITIAL-INPUT can be given as the initial minibuffer 
input."
                        (counsel-org--set-tags))))))
            (counsel-org--set-tags)))
         ((eq this-command 'ivy-call)
-         (delete-minibuffer-contents))))
+         (with-selected-window (active-minibuffer-window)
+           (delete-minibuffer-contents)))))
 
 (defun counsel-org-tag-prompt ()
   (format "Tags (%s): "



reply via email to

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