branch: externals/debbugs
commit 0a2dd7d1002a601d58b1308ef54a653c141b72c2
Author: Lars Ingebrigtsen <[email protected]>
Commit: Lars Ingebrigtsen <[email protected]>
Fix debbugs-gnu Subject setting when used directly from Gnus
* packages/debbugs/debbugs-gnu.el (debbugs-gnu-summary-mode):
Don't set the Subject to nil (which can happen if we're entering
not via the debbugs-gnu interface, but via Gnus directly).
---
debbugs-gnu.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debbugs-gnu.el b/debbugs-gnu.el
index a0bb7a9..6bf3e3b 100644
--- a/debbugs-gnu.el
+++ b/debbugs-gnu.el
@@ -1647,7 +1647,8 @@ MERGED is the list of bugs merged with this one."
(match-string 1 (car address)))))
(cons new new))
address))))))
- (subject ,debbugs-gnu-subject)))))
+ ,@(and debbugs-gnu-subject
+ ,(subject ,debbugs-gnu-subject))))))
(defun debbugs-gnu-guess-current-id ()
"Guess the ID based on \"#23\".