diff options
author | Augusto Stoffel <arstoffel@gmail.com> | 2022-12-12 23:07:28 +0100 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2022-12-13 19:37:57 +0200 |
commit | 4980ed7a6d96d5a8803fae6135804cd87faa6d59 (patch) | |
tree | 6b5cd2430f3034dd26791637a158621fe6b16447 /lisp/isearch.el | |
parent | 4ef8b9f5441cce75c53579317220b763ce83e3b9 (diff) | |
download | emacs-4980ed7a6d96d5a8803fae6135804cd87faa6d59.tar.gz |
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.
Diffstat (limited to 'lisp/isearch.el')
-rw-r--r-- | lisp/isearch.el | 2 |
1 files changed, 1 insertions, 1 deletions
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")) |