]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/vc/add-log.el (change-log-mode): Bind comment-start to nil.
authorChong Yidong <cyd@gnu.org>
Thu, 9 Aug 2012 08:16:13 +0000 (16:16 +0800)
committerChong Yidong <cyd@gnu.org>
Thu, 9 Aug 2012 08:16:13 +0000 (16:16 +0800)
This fixes M-q for Change Log entries which contain "(Bug#123)".

lisp/ChangeLog
lisp/vc/add-log.el

index c4d54f42cf7c196e6b22e1e04dacaf97a5b8bec1..2ff28eeb969dbc364172d2e8813ce628c00f3ef1 100644 (file)
@@ -1,5 +1,7 @@
 2012-08-09  Chong Yidong  <cyd@gnu.org>
 
+       * vc/add-log.el (change-log-mode): Bind comment-start to nil.
+
        * descr-text.el (describe-char): Don't insert extra newlines
        (Bug#10127).
 
index 9401ae07093abbbce7e9217508b5d3a5efd3349f..d6b94a9179fb4bc8cb8cadd7f9be1ed66b56027b 100644 (file)
@@ -1049,6 +1049,7 @@ Runs `change-log-mode-hook'.
        show-trailing-whitespace t)
   (set (make-local-variable 'fill-forward-paragraph-function)
        'change-log-fill-forward-paragraph)
+  (set (make-local-variable 'comment-start) nil)
   ;; Make sure we call `change-log-indent' when filling.
   (set (make-local-variable 'fill-indent-according-to-mode) t)
   ;; Avoid that filling leaves behind a single "*" on a line.