Commit b7e615b9 authored by Glenn Morris's avatar Glenn Morris

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
parent 0a25002d
2014-01-31 Glenn Morris <rgm@gnu.org>
* mail/reporter.el (reporter-dump-variable): In case of void-variable,
do not mess with mail-buffer position (fixes 2009-11-03 change).
* progmodes/cc-mode.el (c-submit-bug-report):
Check auto-fill-mode is bound. (Bug#16592)
2014-01-31 Darren Hoo <darren.hoo@gmail.com>
* startup.el (fancy-splash-image-file): New function,
......
......@@ -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 ""))))
......
......@@ -1733,6 +1733,7 @@ Key bindings:
filladapt-mode
defun-prompt-regexp
font-lock-mode
auto-fill-mode
font-lock-maximum-decoration
parse-sexp-lookup-properties
lookup-syntax-properties))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment