From 25a8d958d19eb812ec50225a1134ee1e98f33a8d Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 13 Mar 1995 06:31:48 +0000 Subject: [PATCH] (adaptive-fill-regexp): Skip # or ;. Allow more than one of them (or *'s or >'s). --- lisp/textmodes/fill.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 40ea5a706bd..00267fdae79 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -57,7 +57,7 @@ reinserts the fill prefix in each resulting line." (defconst adaptive-fill-mode t "*Non-nil means determine a paragraph's fill prefix from its text.") -(defconst adaptive-fill-regexp "[ \t]*\\([#;>*] +\\)?" +(defconst adaptive-fill-regexp "[ \t]*\\([#;>*]+ +\\)?" "*Regexp to match text at start of line that constitutes indentation. If Adaptive Fill mode is enabled, whatever text matches this pattern on the second line of a paragraph is used as the standard indentation