summaryrefslogtreecommitdiff
path: root/evil-surround.el
diff options
context:
space:
mode:
authorJames N. V. Cash <james.nvc@gmail.com>2019-12-15 19:16:00 -0500
committerJames N. V. Cash <james.nvc@gmail.com>2019-12-15 19:16:00 -0500
commitb670e5f338175a1cbeaa1f0c16296f357adf1625 (patch)
tree21467b234ea5bbb680c19e623779c05268187498 /evil-surround.el
parent01eb3c0e4f4d5992902641be79fb823067f493db (diff)
Checking minibuffer window doesn't seem to make a difference either
Diffstat (limited to 'evil-surround.el')
-rw-r--r--evil-surround.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/evil-surround.el b/evil-surround.el
index da4e549..8611e59 100644
--- a/evil-surround.el
+++ b/evil-surround.el
@@ -90,10 +90,8 @@ Each item is of the form (OPERATOR . OPERATION)."
(let ((map (copy-keymap minibuffer-local-map)))
(define-key map ">" (lambda ()
(interactive)
- (call-interactively 'self-insert-command)
- (when (active-minibuffer-window)
- (select-window (active-minibuffer-window))
- (exit-minibuffer))))
+ (call-interactively #'self-insert-command)
+ (exit-minibuffer)))
map)
"Keymap used by `evil-surround-read-tag'.")