]> git.eshelyaron.com Git - emacs.git/commitdiff
(adaptive-fill-regexp): Skip # or ;.
authorRichard M. Stallman <rms@gnu.org>
Mon, 13 Mar 1995 06:31:48 +0000 (06:31 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 13 Mar 1995 06:31:48 +0000 (06:31 +0000)
Allow more than one of them (or *'s or >'s).

lisp/textmodes/fill.el

index 40ea5a706bd51a5f0749c6efc7f0f58908f7fe8a..00267fdae795a45e4d1b95d0297c9a9349373e87 100644 (file)
@@ -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