diff options
| author | Glenn Morris | 2014-01-30 21:39:40 -0500 |
|---|---|---|
| committer | Glenn Morris | 2014-01-30 21:39:40 -0500 |
| commit | b7e615b9bc17a1e4a9ea0d4a71a87b64152af660 (patch) | |
| tree | a8f7c02ffdfd13525a6f27dd9321c4f870d48d0e | |
| parent | 0a25002dc2abfd77cd1c227942df3e77321d398d (diff) | |
| download | emacs-b7e615b9bc17a1e4a9ea0d4a71a87b64152af660.tar.gz emacs-b7e615b9bc17a1e4a9ea0d4a71a87b64152af660.zip | |
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
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/mail/reporter.el | 7 | ||||
| -rw-r--r-- | lisp/progmodes/cc-mode.el | 1 |
3 files changed, 12 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c647ba0783b..3e8e7a6f3a8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2014-01-31 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * mail/reporter.el (reporter-dump-variable): In case of void-variable, | ||
| 4 | do not mess with mail-buffer position (fixes 2009-11-03 change). | ||
| 5 | * progmodes/cc-mode.el (c-submit-bug-report): | ||
| 6 | Check auto-fill-mode is bound. (Bug#16592) | ||
| 7 | |||
| 1 | 2014-01-31 Darren Hoo <darren.hoo@gmail.com> | 8 | 2014-01-31 Darren Hoo <darren.hoo@gmail.com> |
| 2 | 9 | ||
| 3 | * startup.el (fancy-splash-image-file): New function, | 10 | * startup.el (fancy-splash-image-file): New function, |
diff --git a/lisp/mail/reporter.el b/lisp/mail/reporter.el index 35eb582bf77..8fa0121ea0a 100644 --- a/lisp/mail/reporter.el +++ b/lisp/mail/reporter.el | |||
| @@ -200,9 +200,10 @@ MAILBUF is the mail buffer being composed." | |||
| 200 | (insert "\n")) | 200 | (insert "\n")) |
| 201 | (void-variable | 201 | (void-variable |
| 202 | (with-current-buffer mailbuf | 202 | (with-current-buffer mailbuf |
| 203 | (mail-position-on-field "X-Reporter-Void-Vars-Found") | 203 | (save-excursion |
| 204 | (end-of-line) | 204 | (mail-position-on-field "X-Reporter-Void-Vars-Found") |
| 205 | (insert (symbol-name varsym) " "))) | 205 | (end-of-line) |
| 206 | (insert (symbol-name varsym) " ")))) | ||
| 206 | (error | 207 | (error |
| 207 | (error "")))) | 208 | (error "")))) |
| 208 | 209 | ||
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index e961343713e..e8d447cd1fa 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -1733,6 +1733,7 @@ Key bindings: | |||
| 1733 | filladapt-mode | 1733 | filladapt-mode |
| 1734 | defun-prompt-regexp | 1734 | defun-prompt-regexp |
| 1735 | font-lock-mode | 1735 | font-lock-mode |
| 1736 | auto-fill-mode | ||
| 1736 | font-lock-maximum-decoration | 1737 | font-lock-maximum-decoration |
| 1737 | parse-sexp-lookup-properties | 1738 | parse-sexp-lookup-properties |
| 1738 | lookup-syntax-properties)) | 1739 | lookup-syntax-properties)) |