Subject: isearch-lazy-highlight customization broken

From: Juri Linkov <[email-masked]>
Date: Sun, 31 Jan 2021 11:32:04 +0200

I noticed that customization of isearch-lazy-highlight is broken.

Eli, is it ok to fix this on the release 27 branch?

diff --git a/lisp/isearch.el b/lisp/isearch.el
index 82d64c5766..b58ca8a6f7 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -320,7 +320,8 @@ isearch-lazy-highlight
 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)