emacs-diffs
[Top][All Lists]
Advanced

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

master c2fc0c7: * lisp/isearch.el (isearch-mouse-2): Let-bind isearch-mo


From: Juri Linkov
Subject: master c2fc0c7: * lisp/isearch.el (isearch-mouse-2): Let-bind isearch-mode to nil (bug#47755)
Date: Wed, 14 Apr 2021 14:35:27 -0400 (EDT)

branch: master
commit c2fc0c70292872c65f523a8248fb8a9aef467ccb
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/isearch.el (isearch-mouse-2): Let-bind isearch-mode to nil 
(bug#47755)
---
 lisp/isearch.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/isearch.el b/lisp/isearch.el
index 5efac4c..69fdc9d 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -2561,7 +2561,9 @@ Otherwise invoke whatever the calling mouse-2 command 
sequence
 is bound to outside of Isearch."
   (interactive "e")
   (let ((w (posn-window (event-start click)))
-        (binding (let ((overriding-terminal-local-map nil))
+        (binding (let ((overriding-terminal-local-map nil)
+                       ;; Key search depends on mode (bug#47755)
+                       (isearch-mode nil))
                    (key-binding (this-command-keys-vector) t))))
     (if (and (window-minibuffer-p w)
             (not (minibuffer-window-active-p w))) ; in echo area



reply via email to

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