]> git.eshelyaron.com Git - emacs.git/commitdiff
(makefile-fill-paragraph): Treat indented comments like unindented ones.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Apr 2008 05:40:15 +0000 (05:40 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 12 Apr 2008 05:40:15 +0000 (05:40 +0000)
lisp/ChangeLog
lisp/progmodes/make-mode.el

index 292561e6bb9b92a63b51c8670fb2cf81d6fc471d..0ff3b4178ceb1c6545b2839acd4db85061cde5c6 100644 (file)
@@ -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
index 450532a72417bf6cfb2c004780297ba1e7bfb7ce..8ebe8f142d4af95bc09fc36f7e8078614b3043e6 100644 (file)
@@ -1304,7 +1304,7 @@ definition and conveniently use this command."
   (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)