mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
Limit scope of local overriding-terminal-local-map
The function `binding' may call isearch-done, which globally sets overriding-terminal-local-map to nil (Bug#23007). * lisp/isearch.el (isearch-mouse-2): Don't bind overriding-terminal-local-map around the call to `binding'.
This commit is contained in:
parent
8c0f845b34
commit
404273aeac
1 changed files with 3 additions and 3 deletions
|
|
@ -2036,9 +2036,9 @@ For a click in the echo area, invoke `isearch-yank-x-selection'.
|
|||
Otherwise invoke whatever the calling mouse-2 command sequence
|
||||
is bound to outside of Isearch."
|
||||
(interactive "e")
|
||||
(let* ((w (posn-window (event-start click)))
|
||||
(overriding-terminal-local-map nil)
|
||||
(binding (key-binding (this-command-keys-vector) t)))
|
||||
(let ((w (posn-window (event-start click)))
|
||||
(binding (let ((overriding-terminal-local-map nil))
|
||||
(key-binding (this-command-keys-vector) t))))
|
||||
(if (and (window-minibuffer-p w)
|
||||
(not (minibuffer-window-active-p w))) ; in echo area
|
||||
(isearch-yank-x-selection)
|
||||
|
|
|
|||
Loading…
Reference in a new issue