[gnus git] branch master updated: n0-17-138-g1a7b78d =1= * gnus-msg.el (gnus-configure-posting-styles): Get the local gnus-posting-style value from the summary buffer to make it easier to make that a per-buffer conf.

Lars Magne Ingebrigtsen <[email protected]>
Newsgroups gmane.emacs.gnus.cvs
Message-ID <[email protected]>
       via  1a7b78d03dab7afbbad83c007e064e77322f8464 (commit)
      from  870108f91183e319ab2a92d2e6f7a32ac95d5126 (commit)


- Log -----------------------------------------------------------------
commit 1a7b78d03dab7afbbad83c007e064e77322f8464
Author: Lars Magne Ingebrigtsen <[email protected]>
Date:   Sat Jul 2 22:42:17 2011 +0200

    * gnus-msg.el (gnus-configure-posting-styles): Get the local
    gnus-posting-style value from the summary buffer to make it easier to
    make that a per-buffer conf.

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3bd9ce3..2628a3b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-02  Lars Magne Ingebrigtsen  <[email protected]>
+
+	* gnus-msg.el (gnus-configure-posting-styles): Get the local
+	gnus-posting-style value from the summary buffer to make it easier to
+	make that a per-buffer conf.
+
 2011-07-02  Andrew Cohen  <[email protected]>
 
 	* nnir.el (nnir-run-imap): Allow halting a search when an article is
diff --git a/lisp/gnus-msg.el b/lisp/gnus-msg.el
index 9fdd3bb..516e1b3 100644
--- a/lisp/gnus-msg.el
+++ b/lisp/gnus-msg.el
@@ -1799,7 +1799,8 @@ this is a reply."
   "Configure posting styles according to `gnus-posting-styles'."
   (unless gnus-inhibit-posting-styles
     (let ((group (or group-name gnus-newsgroup-name ""))
-	  (styles gnus-posting-styles)
+	  (styles (with-current-buffer gnus-summary-buffer
+		    gnus-posting-styles))
 	  style match attribute value v results
 	  filep name address element)
       ;; If the group has a posting-style parameter, add it at the end with a

-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.

Summary of changes:
 lisp/ChangeLog   |    6 ++++++
 lisp/gnus-msg.el |    3 ++-
 2 files changed, 8 insertions(+), 1 deletions(-)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".

The branch, master has been updated


hooks/post-receive
-- 
Gnus Project
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.