branch: externals/debbugs
commit 70e705c4232d7d0c0fbff6283ed120f4a1ac964f
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.
---
 debbugs-gnu.el | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index 982a3dc..dabfbf9 100644
--- a/debbugs-gnu.el
+++ b/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\".

Reply via email to