From: Mauro Aranda <maurooaranda@gmail.com>
To: 66377@debbugs.gnu.org
Subject: bug#66377: srecode-map-save-file :type doesn't allow nil
Date: Fri, 6 Oct 2023 17:11:07 -0300 [thread overview]
Message-ID: <7d8456e5-e42c-4c86-8811-91989fa2fd5a@gmail.com> (raw)
In-Reply-To: <5e33562e-3100-40f5-b008-a82cce110407@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 39 bytes --]
tags 66377 patch
quit
Patch attached.
[-- Attachment #2: 0001-Fix-a-defcustom-type.patch --]
[-- Type: text/x-patch, Size: 920 bytes --]
From 009542663d482a22427f621140bf365c861bfb81 Mon Sep 17 00:00:00 2001
From: Mauro Aranda <maurooaranda@gmail.com>
Date: Fri, 6 Oct 2023 17:02:37 -0300
Subject: [PATCH] Fix a defcustom :type
* lisp/cedet/srecode/map.el (srecode-map-save-file): Expand :type to
allow nil. (Bug#66377)
---
lisp/cedet/srecode/map.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 @@ srecode-map-save-file
"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")
--
2.34.1
next prev parent reply other threads:[~2023-10-06 20:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-06 20:08 bug#66377: srecode-map-save-file :type doesn't allow nil Mauro Aranda
2023-10-06 20:11 ` Mauro Aranda [this message]
2023-10-07 6:52 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7d8456e5-e42c-4c86-8811-91989fa2fd5a@gmail.com \
--to=maurooaranda@gmail.com \
--cc=66377@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.