summaryrefslogtreecommitdiff
path: root/lisp/isearch.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2021-04-14 21:35:06 +0300
committerJuri Linkov <juri@linkov.net>2021-04-14 21:35:06 +0300
commitc2fc0c70292872c65f523a8248fb8a9aef467ccb (patch)
tree46505cfbd32af75d2fb2b4e77d494376c7b0600d /lisp/isearch.el
parent9b8a5070e5af506158e998e6125c3dab44fa8e5f (diff)
downloademacs-c2fc0c70292872c65f523a8248fb8a9aef467ccb.tar.gz
emacs-c2fc0c70292872c65f523a8248fb8a9aef467ccb.tar.bz2
emacs-c2fc0c70292872c65f523a8248fb8a9aef467ccb.zip
* lisp/isearch.el (isearch-mouse-2): Let-bind isearch-mode to nil (bug#47755)
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r--lisp/isearch.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 5efac4c78f4..69fdc9df6d9 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