summaryrefslogtreecommitdiff
path: root/evil-surround.el
diff options
context:
space:
mode:
Diffstat (limited to 'evil-surround.el')
-rw-r--r--evil-surround.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/evil-surround.el b/evil-surround.el
index 305ccf5..018a5b6 100644
--- a/evil-surround.el
+++ b/evil-surround.el
@@ -90,12 +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)
- (run-at-time nil nil
- (lambda ()
- (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'.")