emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-surround b670e5f338 143/175: Checking minibuffer wind


From: ELPA Syncer
Subject: [nongnu] elpa/evil-surround b670e5f338 143/175: Checking minibuffer window doesn't seem to make a difference either
Date: Mon, 9 Oct 2023 13:01:14 -0400 (EDT)

branch: elpa/evil-surround
commit b670e5f338175a1cbeaa1f0c16296f357adf1625
Author: James N. V. Cash <james.nvc@gmail.com>
Commit: James N. V. Cash <james.nvc@gmail.com>

    Checking minibuffer window doesn't seem to make a difference either
---
 evil-surround.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/evil-surround.el b/evil-surround.el
index da4e549db6..8611e59c38 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'.")
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]