diff options
| author | Chong Yidong | 2012-08-09 16:16:13 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-08-09 16:16:13 +0800 |
| commit | 73e2bbc5a34fab14d7467fdfc61e9343ce6bf559 (patch) | |
| tree | 6ddeb4c9c91a8326ea8ef53fcc6dbb6a8c02f83e | |
| parent | 3e861c8a0d2dfaea07224c1f08cf296ab3c3eb39 (diff) | |
| download | emacs-73e2bbc5a34fab14d7467fdfc61e9343ce6bf559.tar.gz emacs-73e2bbc5a34fab14d7467fdfc61e9343ce6bf559.zip | |
* lisp/vc/add-log.el (change-log-mode): Bind comment-start to nil.
This fixes M-q for Change Log entries which contain "(Bug#123)".
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/vc/add-log.el | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c4d54f42cf7..2ff28eeb969 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2012-08-09 Chong Yidong <cyd@gnu.org> | 1 | 2012-08-09 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * vc/add-log.el (change-log-mode): Bind comment-start to nil. | ||
| 4 | |||
| 3 | * descr-text.el (describe-char): Don't insert extra newlines | 5 | * descr-text.el (describe-char): Don't insert extra newlines |
| 4 | (Bug#10127). | 6 | (Bug#10127). |
| 5 | 7 | ||
diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el index 9401ae07093..d6b94a9179f 100644 --- a/lisp/vc/add-log.el +++ b/lisp/vc/add-log.el | |||
| @@ -1049,6 +1049,7 @@ Runs `change-log-mode-hook'. | |||
| 1049 | show-trailing-whitespace t) | 1049 | show-trailing-whitespace t) |
| 1050 | (set (make-local-variable 'fill-forward-paragraph-function) | 1050 | (set (make-local-variable 'fill-forward-paragraph-function) |
| 1051 | 'change-log-fill-forward-paragraph) | 1051 | 'change-log-fill-forward-paragraph) |
| 1052 | (set (make-local-variable 'comment-start) nil) | ||
| 1052 | ;; Make sure we call `change-log-indent' when filling. | 1053 | ;; Make sure we call `change-log-indent' when filling. |
| 1053 | (set (make-local-variable 'fill-indent-according-to-mode) t) | 1054 | (set (make-local-variable 'fill-indent-according-to-mode) t) |
| 1054 | ;; Avoid that filling leaves behind a single "*" on a line. | 1055 | ;; Avoid that filling leaves behind a single "*" on a line. |