summaryrefslogtreecommitdiff
path: root/lisp/mail/emacsbug.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-05-21 20:31:34 -0700
committerGlenn Morris <rgm@gnu.org>2012-05-21 20:31:34 -0700
commit3290526dde9b633b7a032de36fd961347f1bfe88 (patch)
tree797527a8e595d0a48e9512b0945942b35d006b93 /lisp/mail/emacsbug.el
parentc463dd01c78224c450cb8be823e6ac524ba39ce6 (diff)
downloademacs-3290526dde9b633b7a032de36fd961347f1bfe88.tar.gz
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/emacsbug.el')
-rw-r--r--lisp/mail/emacsbug.el7
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")))
(fill-region (line-beginning-position 0) (point))
;; This is so the user has to type something 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)
+ (define-key (current-local-map) "\C-c\C-i" 'info-emacs-bug)
(if can-insert-mail
(define-key (current-local-map) "\C-cm"
'report-emacs-bug-insert-to-mailer))
@@ -353,10 +353,7 @@ usually do not have translators for other languages.\n\n")))
(buffer-substring-no-properties (point-min) (point)))
(goto-char user-point)))
-(defun report-emacs-bug-info ()
- "Go to the Info node on reporting Emacs bugs."
- (interactive)
- (info "(emacs)Bugs"))
+(define-obsolete-function-alias 'report-emacs-bug-info 'info-emacs-bug "24.2")
;; It's the default mail mode, so it seems OK to use its features.
(autoload 'message-bogus-recipient-p "message")