diff options
| author | Glenn Morris | 2012-05-21 20:31:34 -0700 |
|---|---|---|
| committer | Glenn Morris | 2012-05-21 20:31:34 -0700 |
| commit | 3290526dde9b633b7a032de36fd961347f1bfe88 (patch) | |
| tree | 797527a8e595d0a48e9512b0945942b35d006b93 /lisp/mail | |
| parent | c463dd01c78224c450cb8be823e6ac524ba39ce6 (diff) | |
| download | emacs-3290526dde9b633b7a032de36fd961347f1bfe88.tar.gz emacs-3290526dde9b633b7a032de36fd961347f1bfe88.zip | |
Add "How to Report a Bug" to Help menu
* lisp/info.el (info-emacs-bug): New command.
* lisp/menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
* lisp/mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
Diffstat (limited to 'lisp/mail')
| -rw-r--r-- | lisp/mail/emacsbug.el | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index 33b73335a7d..6cef48749fc 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el | |||
| @@ -316,7 +316,7 @@ usually do not have translators for other languages.\n\n"))) | |||
| 316 | (fill-region (line-beginning-position 0) (point)) | 316 | (fill-region (line-beginning-position 0) (point)) |
| 317 | ;; This is so the user has to type something in order to send easily. | 317 | ;; This is so the user has to type something in order to send easily. |
| 318 | (use-local-map (nconc (make-sparse-keymap) (current-local-map))) | 318 | (use-local-map (nconc (make-sparse-keymap) (current-local-map))) |
| 319 | (define-key (current-local-map) "\C-c\C-i" 'report-emacs-bug-info) | 319 | (define-key (current-local-map) "\C-c\C-i" 'info-emacs-bug) |
| 320 | (if can-insert-mail | 320 | (if can-insert-mail |
| 321 | (define-key (current-local-map) "\C-cm" | 321 | (define-key (current-local-map) "\C-cm" |
| 322 | 'report-emacs-bug-insert-to-mailer)) | 322 | 'report-emacs-bug-insert-to-mailer)) |
| @@ -353,10 +353,7 @@ usually do not have translators for other languages.\n\n"))) | |||
| 353 | (buffer-substring-no-properties (point-min) (point))) | 353 | (buffer-substring-no-properties (point-min) (point))) |
| 354 | (goto-char user-point))) | 354 | (goto-char user-point))) |
| 355 | 355 | ||
| 356 | (defun report-emacs-bug-info () | 356 | (define-obsolete-function-alias 'report-emacs-bug-info 'info-emacs-bug "24.2") |
| 357 | "Go to the Info node on reporting Emacs bugs." | ||
| 358 | (interactive) | ||
| 359 | (info "(emacs)Bugs")) | ||
| 360 | 357 | ||
| 361 | ;; It's the default mail mode, so it seems OK to use its features. | 358 | ;; It's the default mail mode, so it seems OK to use its features. |
| 362 | (autoload 'message-bogus-recipient-p "message") | 359 | (autoload 'message-bogus-recipient-p "message") |