--- Begin Message ---
Subject: |
Fix bug in customizing `mail-sources' variable |
Date: |
Sun, 25 Dec 2016 23:35:35 -0500 |
>From b51b93c8b1e9a57564e750894eaa35781e496fe5 Mon Sep 17 00:00:00 2001
From: Bake Timmons <address@hidden>
Date: Sun, 25 Dec 2016 22:03:13 -0500
Subject: [PATCH] Fix bug in customizing `mail-sources' variable
* lisp/gnus/mail-source.el (mail-sources): Use list instead of cons
for lone argument.
---
lisp/gnus/mail-source.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/gnus/mail-source.el b/lisp/gnus/mail-source.el
index 59a97dbb8c..8b7c8e0847 100644
--- a/lisp/gnus/mail-source.el
+++ b/lisp/gnus/mail-source.el
@@ -66,7 +66,7 @@ See Info node `(gnus)Mail Source Specifiers'."
(repeat :tag "List"
(choice :format "%[Value Menu%] %v"
:value (file)
- (cons :tag "Group parameter `mail-source'"
+ (list :tag "Group parameter `mail-source'"
(const :format "" group))
(cons :tag "Spool file"
(const :format "" file)
--
2.11.0
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#25274: Fix bug in customizing `mail-sources' variable |
Date: |
Tue, 27 Dec 2016 15:39:35 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (i686-pc-cygwin) |
On Sun, 25 Dec 2016 23:35:35 -0500, Bake Timmons wrote:
> --- a/lisp/gnus/mail-source.el
> +++ b/lisp/gnus/mail-source.el
> @@ -66,7 +66,7 @@ See Info node `(gnus)Mail Source Specifiers'."
> (repeat :tag "List"
> (choice :format "%[Value Menu%] %v"
> :value (file)
> - (cons :tag "Group parameter `mail-source'"
> + (list :tag "Group parameter `mail-source'"
> (const :format "" group))
> (cons :tag "Spool file"
> (const :format "" file)
I verified the present code causes an error and applied the patch
to the master. Thanks.
--- End Message ---