aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/mail/reporter.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el
index 341ef8de2b2..60fabaebf0f 100644
--- a/lisp/mail/reporter.el
+++ b/lisp/mail/reporter.el
@@ -318,7 +318,7 @@ is non-nil.
318 318
319This function does not send a message; it uses the given information 319This function does not send a message; it uses the given information
320to initialize a a messagem, which the user can then edit and finally send 320to initialize a a messagem, which the user can then edit and finally send
321(or decline to send). The variable `mail-user-agent' controls which 321\(or decline to send). The variable `mail-user-agent' controls which
322mail-sending package is used for editing and sending the message." 322mail-sending package is used for editing and sending the message."
323 (let ((reporter-eval-buffer (current-buffer)) 323 (let ((reporter-eval-buffer (current-buffer))
324 final-resting-place 324 final-resting-place
@@ -370,9 +370,7 @@ mail-sending package is used for editing and sending the message."
370 (skip-chars-backward " \t\n") 370 (skip-chars-backward " \t\n")
371 (setq reporter-initial-text (buffer-substring after-sep-pos (point)))) 371 (setq reporter-initial-text (buffer-substring after-sep-pos (point))))
372 (if (setq hookvar (get agent 'hookvar)) 372 (if (setq hookvar (get agent 'hookvar))
373 (progn 373 (add-hook hookvar 'reporter-bug-hook nil t))
374 (make-variable-buffer-local hookvar)
375 (add-hook hookvar 'reporter-bug-hook)))
376 374
377 ;; compose the minibuf message and display this. 375 ;; compose the minibuf message and display this.
378 (let* ((sendkey-whereis (where-is-internal 376 (let* ((sendkey-whereis (where-is-internal