[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 273dfec 1/2: Set the subject in debbugs-gnu correctly
From: |
Lars Ingebrigtsen |
Subject: |
[elpa] master 273dfec 1/2: Set the subject in debbugs-gnu correctly |
Date: |
Sun, 1 Nov 2020 06:25:08 -0500 (EST) |
branch: master
commit 273dfec965546bdc5a3dc81e663c67f26102c1a6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
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 "%s@debbugs.gnu.org"
(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\".