From 1ae03cd5dd984877f8282e67d0f345413219b7f3 Mon Sep 17 00:00:00 2001 From: Katsumi Yamaoka Date: Wed, 10 Sep 2008 01:28:52 +0000 Subject: [PATCH] * gnus-group.el (gnus-group-make-useful-group): Don't use the compiler macro caddr in the interactive form since it won't be expanded. --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/gnus-group.el | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index fa7d7926a38..1f7a462fb92 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2008-09-10 Katsumi Yamaoka + + * gnus-group.el (gnus-group-make-useful-group): Don't use the compiler + macro caddr in the interactive form since it won't be expanded. + 2008-09-09 Katsumi Yamaoka * gnus-art.el (gnus-mime-set-charset-parameters): Add new argument diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 947ed6d0fab..c218f257a8e 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el @@ -2925,7 +2925,10 @@ and NEW-NAME will be prompted for." (let ((entry (assoc (completing-read "Create group: " gnus-useful-groups nil t) gnus-useful-groups))) - (list (cadr entry) (caddr entry)))) + (list (cadr entry) + ;; Don't use `caddr' here since macros within the `interactive' + ;; form won't be expanded. + (car (cddr entry))))) (setq method (gnus-copy-sequence method)) (let (entry) (while (setq entry (memq (assq 'eval method) method)) -- 2.39.5