From: Augusto Stoffel Date: Mon, 12 Dec 2022 22:07:28 +0000 (+0100) Subject: Don't allow lazy highlight from recursive minibuffers X-Git-Tag: emacs-29.0.90~1202 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4980ed7a6d9;p=emacs.git Don't allow lazy highlight from recursive minibuffers See bug#59918. * lisp/isearch.el (minibuffer-lazy-highlight-setup): Don't activate when starting a recursive minibuffer. --- diff --git a/lisp/isearch.el b/lisp/isearch.el index bc3697deb0a..6a17d18c45e 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el @@ -4435,7 +4435,7 @@ CASE-FOLD: The value of `isearch-case-fold' to use for lazy highlighting. LAX-WHITESPACE: The value of `isearch-lax-whitespace' and `isearch-regexp-lax-whitespace' to use for lazy highlighting." - (if (not highlight) + (if (or (not highlight) (minibufferp)) #'ignore (let ((unwind (make-symbol "minibuffer-lazy-highlight--unwind")) (after-change (make-symbol "minibuffer-lazy-highlight--after-change"))