branch: master
commit 2b8d324fc626043858be4661cea224fe07751576
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
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): "