comparison 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
comparison
equal deleted inserted replaced
4434:7f3d065a56a1 4435:1e2fc51563a5
1 2008-03-05 Didier Verna <didier@xemacs.org>
2
3 Fix auto-formatting of comments in auto-fill-mode.
4
5 * newcomment.el (comment-indent): Don't insert a space at bol.
6 * newcomment.el (comment-indent-new-line): Bind
7 block-comment-start to comment-start in order to preserve the
8 formatting of previous comment lines.
9
1 2008-03-05 Didier Verna <didier@xemacs.org> 10 2008-03-05 Didier Verna <didier@xemacs.org>
2 11
3 Ease customization of face(s) under point. 12 Ease customization of face(s) under point.
4 Suggested by Andreas Rohler. 13 Suggested by Andreas Rohler.
5 14