From: Mauro Aranda Date: Fri, 6 Oct 2023 20:02:37 +0000 (-0300) Subject: Fix a defcustom :type X-Git-Tag: emacs-29.1.90~23 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a74e51cfd1518507220de2ba317bb862409541cf;p=emacs.git Fix a defcustom :type * lisp/cedet/srecode/map.el (srecode-map-save-file): Expand :type to allow nil. (Bug#66377) --- diff --git a/lisp/cedet/srecode/map.el b/lisp/cedet/srecode/map.el index 125459d6eeb..004bb7adddb 100644 --- a/lisp/cedet/srecode/map.el +++ b/lisp/cedet/srecode/map.el @@ -49,7 +49,8 @@ "The save location for SRecode's map file. If the save file is nil, then the MAP is not saved between sessions." :group 'srecode - :type 'file) + :type '(choice (const :tag "Don't save" nil) + file)) (defclass srecode-map (eieio-persistent) ((fileheaderline :initform ";; SRECODE TEMPLATE MAP")