aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-09 07:31:24 +0200
committerLars Ingebrigtsen2019-10-09 07:31:24 +0200
commit4fef6e68f779b12f4f639ca51896f7a950f49237 (patch)
tree15a48ddeb6139f464b49a3cf4d3af935c26e0f55
parent5f727c6342dff0c96d09f6c21ac99d0168569c62 (diff)
downloademacs-4fef6e68f779b12f4f639ca51896f7a950f49237.tar.gz
emacs-4fef6e68f779b12f4f639ca51896f7a950f49237.zip
Bury the help buffer after sending a bug report
* lisp/mail/emacsbug.el (report-emacs-bug-hook): Bury the help buffer after sending the bug report (bug#22712).
-rw-r--r--lisp/mail/emacsbug.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 13219a4b444..1c2f11680b6 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -477,7 +477,11 @@ and send the mail again%s."
477 (not (yes-or-no-p 477 (not (yes-or-no-p
478 (format-message "Is `%s' really your email address? " 478 (format-message "Is `%s' really your email address? "
479 from))) 479 from)))
480 (error "Please edit the From address and try again")))))) 480 (error "Please edit the From address and try again"))))
481 ;; Bury the help buffer (if it's shown).
482 (when-let ((help (get-buffer "*Bug Help*")))
483 (when (get-buffer-window help)
484 (quit-window nil (get-buffer-window help))))))
481 485
482 486
483(provide 'emacsbug) 487(provide 'emacsbug)