From: yamaoka Date: Wed, 26 Apr 2000 07:00:54 +0000 (+0000) Subject: Sync. X-Git-Tag: t-gnus-6_14-quimby-before-AC-changed-~101 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b94deb9dbe95667cbb7bad73eced7aa0a0386a4;p=elisp%2Fgnus.git- Sync. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a3973ce..703a193 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2000-04-26 02:17:44 Shenghuo ZHU + + * gnus-msg.el (gnus-configure-posting-styles): Just remove the + header if nil. + 2000-04-26 00:23:46 Shenghuo ZHU * mm-view.el (mm-inline-text): Insert directly if decoded. diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el index 203a4bd..2cb63f5 100644 --- a/lisp/gnus-msg.el +++ b/lisp/gnus-msg.el @@ -1356,8 +1356,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 () diff --git a/texi/ChangeLog b/texi/ChangeLog index cd81980..95f0434 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -1,3 +1,7 @@ +2000-04-26 02:30:06 Shenghuo ZHU + + * gnus.texi (Posting Styles): Addition. + 2000-04-24 17:09:17 Felix Natter * gnusref.tex: New version. diff --git a/texi/gnus-ja.texi b/texi/gnus-ja.texi index a760959..b052eb3 100644 --- a/texi/gnus-ja.texi +++ b/texi/gnus-ja.texi @@ -9322,8 +9322,9 @@ Gnus $(B$O30$X=P$F9T$/A4$F$N%a%C%;!<%8$K!"0l$D$+$=$l0J>e$N$=$N%5!<%P!<$N%0%k!< $(B$O!"(B@code{signature}, @code{signature-file}, @code{organization}, @code{address}, @code{name}, @code{body} $(B$N$I$l$+$G$"$k;v$,$G$-$^$9!#B0(B $(B@-L>$OJ8;zNs$G$"$k;v$b$G$-$^$9!#$=$N>l9g$O!"$3$l$O%X%C%@!$H$7$F;H$o$l!"(B -$(B$=$NCM$,5-;v$N%X%C%@!<$KA^F~$5$l$^$9!#$b$7B0@-L>$,(B @code{eval} $(B$@$C$?$i(B -$(B$=$NMM<0$,I>2A$5$l!"7k2L$O$,(B @code{nil} $(B$@$C$?$i$=(B +$(B$N%X%C%@!$O:o=|$5$l$^$9!#$b$7B0@-L>$,(B @code{eval} $(B$@$C$?$i$=$NMM<0$,(B +$(BI>2A$5$l!"7k2L$O2A(B} $(B$5$l$F!"JV$j(B diff --git a/texi/gnus.texi b/texi/gnus.texi index 3d2db39..44730e6 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -9683,8 +9683,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