2010-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
authorKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 5 Jan 2010 02:23:08 +0000 (02:23 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 5 Jan 2010 02:23:08 +0000 (02:23 +0000)
* gnus.texi (Posting Styles): Use with-current-buffer.

texi/ChangeLog
texi/gnus.texi

index e5c7c57..34d4659 100644 (file)
@@ -1,3 +1,7 @@
+2010-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * gnus.texi (Posting Styles): Use with-current-buffer.
+
 2009-12-18  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus.texi (Direct Functions): Add missing port number to tls method.
index 9e9f479..6705ad7 100644 (file)
@@ -13449,8 +13449,7 @@ So here's a new example:
          (body "You are fired.\n\nSincerely, your boss.")
          (organization "Important Work, Inc"))
         ("nnml:.*"
-         (From (save-excursion
-                 (set-buffer gnus-article-buffer)
+         (From (with-current-buffer gnus-article-buffer
                  (message-fetch-field "to"))))
         ("^nn.+:"
          (signature-file "~/.mail-signature"))))