Subject: Re: bug#66341: 30.0.50; pulse-flag :type doesn't allow never as a value

From: Mauro Aranda <[email-masked]>
Date: Wed, 4 Oct 2023 10:49:09 -0300

tags 66341 patch
quit

Patch attached.

From c1000126a21a324d7ed9ebc9b64fb7e48f9f7f03 Mon Sep 17 00:00:00 2001
From: Mauro Aranda <[email-masked]>
Date: Wed, 4 Oct 2023 10:47:51 -0300
Subject: [PATCH] Fix pulse-flag :type

* lisp/cedet/pulse.el (pulse-flag): Expand :type to allow 'never as
value.  (Bug#66341)
---
 lisp/cedet/pulse.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/cedet/pulse.el b/lisp/cedet/pulse.el
index 37b41fbe8c3..38ccf5b975f 100644
--- a/lisp/cedet/pulse.el
+++ b/lisp/cedet/pulse.el
@@ -71,7 +71,9 @@ pulse-flag
 If `pulse-flag' is non-nil, but `pulse-available-p' is nil, then
 this flag is ignored."
   :group 'pulse
-  :type 'boolean)
+  :type '(choice (const :tag "Highlight with unchanging color" nil)
+                 (const :tag "No highlight" never)
+                 (other :tag "Pulse" t)))
 
 (defface pulse-highlight-start-face
   '((((class color) (background dark))
-- 
2.34.1