[Top][All Lists]

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

emacs-27 85b0137: * lisp/isearch.el (isearch-lazy-highlight): Fix defcus

From: Juri Linkov
Subject: emacs-27 85b0137: * lisp/isearch.el (isearch-lazy-highlight): Fix defcustom type (bug#46208)
Date: Sun, 31 Jan 2021 16:47:56 -0500 (EST)

branch: emacs-27
commit 85b0137858098013eb8ab66c4e9b256eedb1954d
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * lisp/isearch.el (isearch-lazy-highlight): Fix defcustom type (bug#46208)
 lisp/isearch.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/isearch.el b/lisp/isearch.el
index 8320847..f99461a 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -310,7 +310,8 @@ matching the current search string is highlighted lazily
 When multiple windows display the current buffer, the
 highlighting is displayed only on the selected window, unless
 this variable is set to the symbol `all-windows'."
-  :type '(choice boolean
+  :type '(choice (const :tag "Off" nil)
+                 (const :tag "On, and applied to current window" t)
                  (const :tag "On, and applied to all windows" all-windows))
   :group 'lazy-highlight
   :group 'isearch)

reply via email to

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