emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 4980ed7a6d: Don't allow lazy highlight from recursive minibuffe


From: Juri Linkov
Subject: emacs-29 4980ed7a6d: Don't allow lazy highlight from recursive minibuffers
Date: Tue, 13 Dec 2022 12:39:23 -0500 (EST)

branch: emacs-29
commit 4980ed7a6d96d5a8803fae6135804cd87faa6d59
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Juri Linkov <juri@linkov.net>

    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.
---
 lisp/isearch.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/isearch.el b/lisp/isearch.el
index bc3697deb0..6a17d18c45 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"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]