(adaptive-fill-regexp): Admit tabs as well.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 Aug 2001 22:20:06 +0000 (22:20 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 22 Aug 2001 22:20:06 +0000 (22:20 +0000)
lisp/textmodes/fill.el

index bd47d63..f894b8d 100644 (file)
@@ -92,7 +92,7 @@ reinserts the fill prefix in each resulting line."
   :group 'fill)
 
 (defcustom adaptive-fill-regexp
-  (purecopy "[ \t]*\\([-|#;>*]+ *\\|(?[0-9]+[.)] *\\)*")
+  (purecopy "[ \t]*\\([-|#;>*]+[ \t]*\\|(?[0-9]+[.)][ \t]*\\)*")
   "*Regexp to match text at start of line that constitutes indentation.
 If Adaptive Fill mode is enabled, a prefix matching this pattern
 on the first and second lines of a paragraph is used as the