From: Juri Linkov Date: Wed, 14 Apr 2021 18:35:06 +0000 (+0300) Subject: * lisp/isearch.el (isearch-mouse-2): Let-bind isearch-mode to nil (bug#47755) X-Git-Tag: emacs-28.0.90~2853 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c2fc0c70292872c65f523a8248fb8a9aef467ccb;p=emacs.git * lisp/isearch.el (isearch-mouse-2): Let-bind isearch-mode to nil (bug#47755) --- 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