summaryrefslogtreecommitdiff
path: root/evil-surround.el
diff options
context:
space:
mode:
authorninrod <filipe.silva@gmail.com>2019-12-17 08:31:51 -0300
committerninrod <filipe.silva@gmail.com>2019-12-17 08:31:51 -0300
commit9b0b17f06cef9bac81ee4800d121265e54718a17 (patch)
tree091fc2b7a74b80b58bf2e6a5e9205fb194a695ae /evil-surround.el
parentee61a652003538675e00042b99fd2c03aa43a746 (diff)
parentb670e5f338175a1cbeaa1f0c16296f357adf1625 (diff)
merge @jamesnvc PRs #160 and #1621.1.0
- fix some bugs in macro use cases: #161 and #159
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'.")