Mercurial > hg > xemacs-beta
diff lisp/ChangeLog @ 4435:1e2fc51563a5
Fix auto-formatting of comments in auto-fill-mode
This patch makes auto-fill-mode properly format comments (when lines are
automatically broken). It looks strangely similar to that of:
| 1999-06-24 Bob Weiner <weiner@beopen.com>
|
| * simple.el (indent-new-comment-line): Locally bound
| `block-comment-start' to `comstart' or else when this is called
| from do-auto-fill, e.g. in Lisp mode, it will insert any non-nil
| `block-comment-start' value, ignoring any existing spacing after a
| comment prefix in the previous line and producing ugly comments.
author | Didier Verna <didier@xemacs.org> |
---|---|
date | Wed, 05 Mar 2008 18:01:37 +0100 |
parents | 7f3d065a56a1 |
children | a72dc882abf1 |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Mar 05 10:41:54 2008 +0100 +++ b/lisp/ChangeLog Wed Mar 05 18:01:37 2008 +0100 @@ -1,3 +1,12 @@ +2008-03-05 Didier Verna <didier@xemacs.org> + + Fix auto-formatting of comments in auto-fill-mode. + + * newcomment.el (comment-indent): Don't insert a space at bol. + * newcomment.el (comment-indent-new-line): Bind + block-comment-start to comment-start in order to preserve the + formatting of previous comment lines. + 2008-03-05 Didier Verna <didier@xemacs.org> Ease customization of face(s) under point.