changeset 98114:a5e4178becee

* 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.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Wed, 10 Sep 2008 01:28:52 +0000
parents 95e740c93248
children 463a86221cdd
files lisp/gnus/ChangeLog lisp/gnus/gnus-group.el
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Tue Sep 09 22:48:45 2008 +0000
+++ b/lisp/gnus/ChangeLog	Wed Sep 10 01:28:52 2008 +0000
@@ -1,3 +1,8 @@
+2008-09-10  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+	* 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  <yamaoka@jpl.org>
 
 	* gnus-art.el (gnus-mime-set-charset-parameters): Add new argument
--- a/lisp/gnus/gnus-group.el	Tue Sep 09 22:48:45 2008 +0000
+++ b/lisp/gnus/gnus-group.el	Wed Sep 10 01:28:52 2008 +0000
@@ -2925,7 +2925,10 @@
    (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))