]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/mail/emacsbug.el (report-emacs-bug): Simplify interactive spec.
authorGlenn Morris <rgm@gnu.org>
Tue, 4 Nov 2014 07:11:37 +0000 (23:11 -0800)
committerGlenn Morris <rgm@gnu.org>
Tue, 4 Nov 2014 07:11:37 +0000 (23:11 -0800)
lisp/mail/emacsbug.el

index d0c575a9c798026c5e368f63aef0c75fed063e57..329a3209ceef38ad7bb67ee8bc0c8e4df6335ed9 100644 (file)
@@ -146,10 +146,8 @@ This requires either the OS X \"open\" command, or the freedesktop
 (defun report-emacs-bug (topic &optional unused)
   "Report a bug in GNU Emacs.
 Prompts for bug subject.  Leaves you in a mail buffer."
-  ;; This strange form ensures that (recent-keys) is the value before
-  ;; the bug subject string is read.
   (declare (advertised-calling-convention (topic) "24.5"))
-  (interactive (reverse (list (recent-keys) (read-string "Bug Subject: "))))
+  (interactive "sBug Subject: ")
   ;; The syntax `version;' is preferred to `[version]' because the
   ;; latter could be mistakenly stripped by mailing software.
   (if (eq system-type 'ms-dos)