changeset 80508:5a66e871f1e0

(makefile-fill-paragraph): Treat indented comments like unindented ones.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 12 Apr 2008 05:40:15 +0000
parents 65aec0fc638d
children 4bf438f2be05
files lisp/ChangeLog lisp/progmodes/make-mode.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <user42@zip.com.au>
+
+	* progmodes/make-mode.el (makefile-fill-paragraph): Treat indented
+	comments like unindented ones.
+
 2008-04-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
 
 	* term/mac-win.el (mac-ae-open-documents): Adjust selection range
--- 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)