From: Stefan Monnier Date: Sat, 12 Apr 2008 05:40:15 +0000 (+0000) Subject: (makefile-fill-paragraph): Treat indented comments like unindented ones. X-Git-Tag: emacs-pretest-22.2.90~184 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5e01f1ca4989b9466927f48a8a5fdca031fa08dc;p=emacs.git (makefile-fill-paragraph): Treat indented comments like unindented ones. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 292561e6bb9..0ff3b4178ce 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 450532a7241..8ebe8f142d4 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -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)