From: Glenn Morris Date: Tue, 4 Nov 2014 07:11:37 +0000 (-0800) Subject: * lisp/mail/emacsbug.el (report-emacs-bug): Simplify interactive spec. X-Git-Tag: emacs-24.4.90~272 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=46fc78f57e9be79e144303066b9164b000af76fa;p=emacs.git * lisp/mail/emacsbug.el (report-emacs-bug): Simplify interactive spec. --- diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el index d0c575a9c79..329a3209cee 100644 --- a/lisp/mail/emacsbug.el +++ b/lisp/mail/emacsbug.el @@ -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)