1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Fix for c-submit-bug-report and reporter.el void-variable handling

* lisp/mail/reporter.el (reporter-dump-variable): In case of void-variable,
do not mess with mail-buffer position (fixes 2009-11-03 change).

* lisp/progmodes/cc-mode.el (c-submit-bug-report):
Check auto-fill-mode is bound.

Fixes: debbugs:16592
This commit is contained in:
Glenn Morris 2014-01-30 21:39:40 -05:00
parent 0a25002dc2
commit b7e615b9bc
3 changed files with 12 additions and 3 deletions

View file

@ -200,9 +200,10 @@ MAILBUF is the mail buffer being composed."
(insert "\n"))
(void-variable
(with-current-buffer mailbuf
(mail-position-on-field "X-Reporter-Void-Vars-Found")
(end-of-line)
(insert (symbol-name varsym) " ")))
(save-excursion
(mail-position-on-field "X-Reporter-Void-Vars-Found")
(end-of-line)
(insert (symbol-name varsym) " "))))
(error
(error ""))))