Subject: Re: bug#66361: 30.0.50; ede-project-placeholder-cache-file :type doesn't allow nil

From: Mauro Aranda <[email-masked]>
Date: Thu, 5 Oct 2023 10:28:21 -0300

tags 66361 patch
quit

Patch attached.

From 4193641fe419ef35df3417317588f9dd95508ef9 Mon Sep 17 00:00:00 2001
From: Mauro Aranda <[email-masked]>
Date: Thu, 5 Oct 2023 10:25:52 -0300
Subject: [PATCH] Fix a defcustom :type

* lisp/cedet/ede/base.el (ede-project-placeholder-cache-file): Expand
:type to allow nil.  (Bug#66361)
---
 lisp/cedet/ede/base.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/cedet/ede/base.el b/lisp/cedet/ede/base.el
index 305bf599151..c32d2edd7b7 100644
--- a/lisp/cedet/ede/base.el
+++ b/lisp/cedet/ede/base.el
@@ -312,7 +312,8 @@ ede-project-placeholder-cache-file
   "File containing the list of projects EDE has viewed.
 If set to nil, then the cache is not saved."
   :group 'ede
-  :type 'file)
+  :type '(choice (const :tag "Don't save the cache" nil)
+                 file))
 
 (defvar ede-project-cache-files nil
   "List of project files EDE has seen before.")
-- 
2.34.1