(mail-header-set-extra): Make into a function
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 16 May 2005 20:48:57 +0000 (20:48 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Mon, 16 May 2005 20:48:57 +0000 (20:48 +0000)
because I just could't understand how to quote the list properly.

lisp/ChangeLog
lisp/nnheader.el

index a4cc6c0..3d44b3e 100644 (file)
@@ -1,5 +1,8 @@
 2005-05-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * nnheader.el (mail-header-set-extra): Make into a function
+       because I just could't understand how to quote the list properly. 
+
        * dns.el (query-dns-cached): New function.
 
 2005-05-16  Katsumi Yamaoka  <yamaoka@jpl.org>
index e4b7746..5ee9a7f 100644 (file)
@@ -206,9 +206,9 @@ on your system, you could say something like:
   "Return the extra headers in HEADER."
   `(aref ,header 9))
 
-(defmacro mail-header-set-extra (header extra)
+(defun mail-header-set-extra (header extra)
   "Set the extra headers in HEADER to EXTRA."
-  `(aset ,header 9 ',extra))
+  (aset header 9 extra))
 
 (defsubst make-mail-header (&optional init)
   "Create a new mail header structure initialized with INIT."