# HG changeset patch # User Richard M. Stallman # Date 870671389 0 # Node ID ce44f2008a229c21fb82f20418c8c2554b1ef7c0 # Parent c57d673ff6767495f04295505e2edb743802fc05 (isearch-other-meta-char): Don't switch windows to exit if that would switch to an inactive minibuffer. diff -r c57d673ff676 -r ce44f2008a22 lisp/isearch.el --- 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)