From: Richard M. Stallman Date: Mon, 13 Mar 1995 06:31:48 +0000 (+0000) Subject: (adaptive-fill-regexp): Skip # or ;. X-Git-Tag: emacs-19.34~4869 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=25a8d958d19eb812ec50225a1134ee1e98f33a8d;p=emacs.git (adaptive-fill-regexp): Skip # or ;. Allow more than one of them (or *'s or >'s). --- 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