branch: master
commit 273dfec965546bdc5a3dc81e663c67f26102c1a6
Author: Lars Ingebrigtsen <[email protected]>
Commit: Lars Ingebrigtsen <[email protected]>
Set the subject in debbugs-gnu correctly
* packages/debbugs/debbugs-gnu.el (debbugs-gnu-summary-mode):
Message is lexically-bound, so setting the subject variable
doesn't do anything. Instead set the header via the posting style
machinery.
---
packages/debbugs/debbugs-gnu.el | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/packages/debbugs/debbugs-gnu.el b/packages/debbugs/debbugs-gnu.el
index 982a3dc..dabfbf9 100644
--- a/packages/debbugs/debbugs-gnu.el
+++ b/packages/debbugs/debbugs-gnu.el
@@ -1647,10 +1647,8 @@ MERGED is the list of bugs merged with this one."
(let ((new (format "%[email protected]"
(match-string 1 (car address)))))
(cons new new))
- address)))
- ;; `gnus-posting-styles' is eval'ed after
- ;; `message-simplify-subject'. So we cannot use m-s-s.
- (setq subject ,debbugs-gnu-subject))))))))
+ address))))))
+ (subject ,debbugs-gnu-subject)))))
(defun debbugs-gnu-guess-current-id ()
"Guess the ID based on \"#23\".