summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuri Linkov <juri@linkov.net>2021-01-31 23:47:31 +0200
committerJuri Linkov <juri@linkov.net>2021-01-31 23:47:31 +0200
commit85b0137858098013eb8ab66c4e9b256eedb1954d (patch)
tree9b2a7955e2e84aa430d6fa65cc4566db839a4ab5
parentcbeda210835bee9ff3e7f697c7944a10db8b132c (diff)
downloademacs-85b0137858098013eb8ab66c4e9b256eedb1954d.tar.gz
* lisp/isearch.el (isearch-lazy-highlight): Fix defcustom type (bug#46208)
-rw-r--r--lisp/isearch.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 8320847893e..f99461ac456 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)