]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/isearch.el (isearch-mouse-2): Let-bind isearch-mode to nil (bug#47755)
authorJuri Linkov <juri@linkov.net>
Wed, 14 Apr 2021 18:35:06 +0000 (21:35 +0300)
committerJuri Linkov <juri@linkov.net>
Wed, 14 Apr 2021 18:35:06 +0000 (21:35 +0300)
lisp/isearch.el

index 5efac4c78f4bcda2068a010356699419c390597c..69fdc9df6d9d3c5e044f1c1663f43e4108d640b7 100644 (file)
@@ -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