summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-msg.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-03 00:24:28 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2011-07-03 00:24:28 +0000
commitecd283b970934a3b13c0c16086ca29ef609118a3 (patch)
treef07544114ee27880a255bf3631caaeb2f3d0d800 /lisp/gnus/gnus-msg.el
parent7f6d634ac2f8117b4635fad890e7bc19087ee806 (diff)
downloademacs-ecd283b970934a3b13c0c16086ca29ef609118a3.tar.gz
Merge changes made in Gnus trunk.
gnus.el (gnus-list-debbugs): New command. gnus-group.el (gnus-bug-group-download-format-alist): Get the mboxstat instead of the maintbox, since the stat seems to be fuller. gnus-msg.el (gnus-configure-posting-styles): Don't try to select dead summary buffers. message.el (message-get-reply-headers): Delete all duplicates, instead of the first. (message-get-reply-headers): Ensure that we have progress while deleting duplicates. 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.
Diffstat (limited to 'lisp/gnus/gnus-msg.el')
-rw-r--r--lisp/gnus/gnus-msg.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-msg.el b/lisp/gnus/gnus-msg.el
index 9fdd3bba909..b265a681eb8 100644
--- a/lisp/gnus/gnus-msg.el
+++ b/lisp/gnus/gnus-msg.el
@@ -1799,7 +1799,10 @@ 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 (if (gnus-buffer-live-p gnus-summary-buffer)
+ (with-current-buffer gnus-summary-buffer
+ gnus-posting-styles)
+ 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