summaryrefslogtreecommitdiff
path: root/evil-surround.el
diff options
context:
space:
mode:
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'.")