From 73e2bbc5a34fab14d7467fdfc61e9343ce6bf559 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Thu, 9 Aug 2012 16:16:13 +0800 Subject: [PATCH] * 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)". --- lisp/ChangeLog | 2 ++ lisp/vc/add-log.el | 1 + 2 files changed, 3 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c4d54f42cf7..2ff28eeb969 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2012-08-09 Chong Yidong + * vc/add-log.el (change-log-mode): Bind comment-start to nil. + * descr-text.el (describe-char): Don't insert extra newlines (Bug#10127). 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'. 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. -- 2.39.5