changeset 41377:be3e9c2f0159

(report-calc-bug): Use `reporter-prompt-for-summary-p'.
author Colin Walters <walters@gnu.org>
date Thu, 22 Nov 2001 20:34:30 +0000
parents d8189ce88c94
children 5149031e1b55
files lisp/calc/calc-misc.el
diffstat 1 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/calc/calc-misc.el	Thu Nov 22 20:06:34 2001 +0000
+++ b/lisp/calc/calc-misc.el	Thu Nov 22 20:34:30 2001 +0000
@@ -799,16 +799,17 @@
 
 ;;; Bug reporting
 
-(defun report-calc-bug (topic)
+(defun report-calc-bug ()
   "Report a bug in Calc, the GNU Emacs calculator.
 Prompts for bug subject.  Leaves you in a mail buffer."
-  (interactive "sBug Subject: ")
-  (reporter-submit-bug-report calc-bug-address "Calc" '(calc-version)
-			      nil nil
-"Please describe exactly what actions triggered the bug and the
+  (interactive)
+  (let ((reporter-prompt-for-summary-p t))
+    (reporter-submit-bug-report calc-bug-address "Calc" '(calc-version)
+				nil nil
+				"Please describe exactly what actions triggered the bug and the
 precise symptoms of the bug.  If possible, include a backtrace by
 doing 'M-x toggle-debug-on-error', then reproducing the bug.
-" ))
+" )))
 (defalias 'calc-report-bug 'report-calc-bug)
 
 ;;; calc-misc.el ends here