# HG changeset patch # User Stefan Monnier # Date 1207978815 0 # Node ID 5a66e871f1e0d3690cc15b722e5827ae41f83134 # Parent 65aec0fc638d1aa14ea640429916aef4d2bc41b8 (makefile-fill-paragraph): Treat indented comments like unindented ones. diff -r 65aec0fc638d -r 5a66e871f1e0 lisp/ChangeLog --- a/lisp/ChangeLog Sat Apr 12 05:17:39 2008 +0000 +++ b/lisp/ChangeLog Sat Apr 12 05:40:15 2008 +0000 @@ -1,3 +1,8 @@ +2008-04-12 Kevin Ryde + + * progmodes/make-mode.el (makefile-fill-paragraph): Treat indented + comments like unindented ones. + 2008-04-12 YAMAMOTO Mitsuharu * term/mac-win.el (mac-ae-open-documents): Adjust selection range diff -r 65aec0fc638d -r 5a66e871f1e0 lisp/progmodes/make-mode.el --- a/lisp/progmodes/make-mode.el Sat Apr 12 05:17:39 2008 +0000 +++ b/lisp/progmodes/make-mode.el Sat Apr 12 05:40:15 2008 +0000 @@ -1304,7 +1304,7 @@ (save-excursion (beginning-of-line) (cond - ((looking-at "^#+\\s-*") + ((looking-at "^[ \t]*#+\\s-*") ;; Found a comment. Return nil to let normal filling take place. nil)