From 5e01f1ca4989b9466927f48a8a5fdca031fa08dc Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 12 Apr 2008 05:40:15 +0000 Subject: [PATCH] (makefile-fill-paragraph): Treat indented comments like unindented ones. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/make-mode.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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) -- 2.39.2