summaryrefslogtreecommitdiff
path: root/lisp/mail/emacsbug.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-07 06:34:20 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-07 06:34:20 +0000
commite9227982cb82f5c12c1c63fb04d8f9c2afdee0ae (patch)
tree7b220e6798055216149d45cc91ebf97298a66e7d /lisp/mail/emacsbug.el
parent518adca24d8cde9589c59400353554ec5727504c (diff)
downloademacs-e9227982cb82f5c12c1c63fb04d8f9c2afdee0ae.tar.gz
(report-emacs-bug): Don't display *Bug Help* if
report-emacs-bug-no-explanations.
Diffstat (limited to 'lisp/mail/emacsbug.el')
-rw-r--r--lisp/mail/emacsbug.el21
1 files changed, 11 insertions, 10 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 7773082814f..f9f724bfd1f 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -146,18 +146,19 @@ translators to read other languages for them.\n\n"))
;; in order to send easily.
(use-local-map (nconc (make-sparse-keymap) (current-local-map)))
(define-key (current-local-map) "\C-c\C-i" 'report-emacs-bug-info)
- (with-output-to-temp-buffer "*Bug Help*"
- (if (eq mail-user-agent 'sendmail-user-agent)
- (princ (substitute-command-keys
- "Type \\[mail-send-and-exit] to send the bug report.\n")))
- (princ (substitute-command-keys
- "Type \\[kill-buffer] RET to cancel (don't send it).\n"))
- (terpri)
- (princ (substitute-command-keys
- "Type \\[report-emacs-bug-info] to visit in Info the Emacs Manual section
+ (unless report-emacs-bug-no-explanations
+ (with-output-to-temp-buffer "*Bug Help*"
+ (if (eq mail-user-agent 'sendmail-user-agent)
+ (princ (substitute-command-keys
+ "Type \\[mail-send-and-exit] to send the bug report.\n")))
+ (princ (substitute-command-keys
+ "Type \\[kill-buffer] RET to cancel (don't send it).\n"))
+ (terpri)
+ (princ (substitute-command-keys
+ "Type \\[report-emacs-bug-info] to visit in Info the Emacs Manual section
about when and how to write a bug report,
and what information to supply so that the bug can be fixed.
-Type SPC to scroll through this section and its subsections.")))
+Type SPC to scroll through this section and its subsections."))))
;; Make it less likely people will send empty messages.
(make-local-variable 'mail-send-hook)
(add-hook 'mail-send-hook 'report-emacs-bug-hook)