* gnus-msg.el (gnus-configure-posting-styles): Just remove the header if nil.
authorShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 26 Apr 2000 06:33:16 +0000 (06:33 +0000)
committerShengHuo ZHU <zsh@cs.rochester.edu>
Wed, 26 Apr 2000 06:33:16 +0000 (06:33 +0000)
lisp/ChangeLog
lisp/gnus-msg.el
texi/ChangeLog
texi/gnus.texi

index a3973ce..703a193 100644 (file)
@@ -1,3 +1,8 @@
+2000-04-26 02:17:44  Shenghuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus-msg.el (gnus-configure-posting-styles): Just remove the
+       header if nil.
+
 2000-04-26 00:23:46  Shenghuo ZHU  <zsh@cs.rochester.edu>
 
        * mm-view.el (mm-inline-text): Insert directly if decoded.
index 10ddcdd..737b293 100644 (file)
@@ -1233,8 +1233,10 @@ this is a reply."
                      `(lambda ()
                         (save-excursion
                           (message-remove-header ,header)
-                          (message-goto-eoh)
-                          (insert ,header ": " ,(cdr result) "\n"))))))))
+                          (let ((value ,(cdr result)))
+                            (when value
+                              (message-goto-eoh)
+                              (insert ,header ": " value "\n"))))))))))
       (when (or name address)
        (add-hook 'message-setup-hook
                  `(lambda ()
index cd81980..95f0434 100644 (file)
@@ -1,3 +1,7 @@
+2000-04-26 02:30:06  Shenghuo ZHU  <zsh@cs.rochester.edu>
+
+       * gnus.texi (Posting Styles): Addition. 
+
 2000-04-24 17:09:17  Felix Natter  <f.natter@ndh.net>
 
        * gnusref.tex: New version.
index 366d522..4d2950a 100644 (file)
@@ -9700,8 +9700,9 @@ attribute name can be one of @code{signature}, @code{signature-file},
 @code{organization}, @code{address}, @code{name} or @code{body}.  The
 attribute name can also be a string.  In that case, this will be used as
 a header name, and the value will be inserted in the headers of the
-article.  If the attribute name is @code{eval}, the form is evaluated,
-and the result is thrown away.
+article; if the value is @code{nil}, the header name will be removed.
+If the attribute name is @code{eval}, the form is evaluated, and the
+result is thrown away.
 
 The attribute value can be a string (used verbatim), a function with
 zero arguments (the return value will be used), a variable (its value