mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(isearch-other-meta-char): Don't switch windows to exit
if that would switch to an inactive minibuffer.
This commit is contained in:
parent
8e710301e0
commit
4fd017e78e
1 changed files with 3 additions and 1 deletions
|
|
@ -1149,7 +1149,9 @@ and the meta character is unread so that it applies to editing the string."
|
|||
;; is in isearch mode. So end the search in that buffer.
|
||||
(if (and (listp main-event)
|
||||
(setq window (posn-window (event-start main-event)))
|
||||
(windowp window))
|
||||
(windowp window)
|
||||
(or (> (minibuffer-depth) 0)
|
||||
(not (window-minibuffer-p window))))
|
||||
(save-excursion
|
||||
(set-buffer (window-buffer window))
|
||||
(isearch-done)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue