Mercurial > emacs
changeset 19127:ce44f2008a22
(isearch-other-meta-char): Don't switch windows to exit
if that would switch to an inactive minibuffer.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 04 Aug 1997 05:09:49 +0000 |
parents | c57d673ff676 |
children | e789b647f15b |
files | lisp/isearch.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/isearch.el Mon Aug 04 04:29:53 1997 +0000 +++ b/lisp/isearch.el Mon Aug 04 05:09:49 1997 +0000 @@ -1149,7 +1149,9 @@ ;; 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)