Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e9227982
Commit
e9227982
authored
May 07, 1998
by
Richard M. Stallman
Browse files
(report-emacs-bug): Don't display *Bug Help* if
report-emacs-bug-no-explanations.
parent
518adca2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
lisp/mail/emacsbug.el
lisp/mail/emacsbug.el
+11
-10
No files found.
lisp/mail/emacsbug.el
View file @
e9227982
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment