Fix a defcustom :type

* lisp/cedet/srecode/map.el (srecode-map-save-file): Expand :type to
allow nil.  (Bug#66377)
This commit is contained in:
Mauro Aranda 2023-10-06 17:02:37 -03:00 committed by Eli Zaretskii
parent c27b90d04b
commit a74e51cfd1

View file

@ -49,7 +49,8 @@
"The save location for SRecode's map file. "The save location for SRecode's map file.
If the save file is nil, then the MAP is not saved between sessions." If the save file is nil, then the MAP is not saved between sessions."
:group 'srecode :group 'srecode
:type 'file) :type '(choice (const :tag "Don't save" nil)
file))
(defclass srecode-map (eieio-persistent) (defclass srecode-map (eieio-persistent)
((fileheaderline :initform ";; SRECODE TEMPLATE MAP") ((fileheaderline :initform ";; SRECODE TEMPLATE MAP")