~statik/xemacs/master

Viewing all changes in revision 4378.

  • Committer: Didier Verna
  • Date: 2008-03-05 17:01:37 UTC
  • Revision ID: didier@xemacs.org-20080305170137-yv178619ycbkif1a
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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: