master baf195d1eb9: ; Fix extra whitespace in 'report-emacs-bug'
Eli Zaretskii <[email protected]> Thu, 23 Jul 2026 03:10:43 -0400 (EDT)
| Newsgroups | gmane.emacs.diffs |
|---|---|
| Message-ID | <[email protected]> |
branch: master commit baf195d1eb9222154fa7e156a4f7917d58377838 Author: Eli Zaretskii <[email protected]> Commit: Eli Zaretskii <[email protected]> ; Fix extra whitespace in 'report-emacs-bug' * lisp/mail/emacsbug.el (report-emacs-bug--os-description): Account for 'os' being nil. (Bug#81437) --- lisp/mail/emacsbug.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index d69fd106e5c..e43e982c04b 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -127,7 +127,9 @@ This requires either the macOS \"open\" command, or the freedesktop (goto-char (point-min)) (if (re-search-forward (format "^%s\\s-*:\\s-+\\(.*\\)$" s) nil t) - (setq os (concat os " " (match-string 1))))))) + (setq os (concat os + (if os " ") + (match-string 1))))))) os)) ((eq system-type 'windows-nt) (or report-emacs-bug--os-description