# HG changeset patch # User Richard M. Stallman # Date 1157716974 0 # Node ID 8c5e09c8076cbd18062dd3c72a5310c3956090f5 # Parent 7d4fe4b4afc9c1b0ea2e41422ae6227817d38b5b (adaptive-fill-regexp): Don't match `(1)' or `1.' diff -r 7d4fe4b4afc9 -r 8c5e09c8076c lisp/textmodes/fill.el --- a/lisp/textmodes/fill.el Fri Sep 08 12:02:13 2006 +0000 +++ b/lisp/textmodes/fill.el Fri Sep 08 12:02:54 2006 +0000 @@ -89,7 +89,8 @@ (defcustom adaptive-fill-regexp ;; Added `!' for doxygen comments starting with `//!' or `/*!'. ;; Added `%' for TeX comments. - (purecopy "[ \t]*\\([-!|#%;>*,A7$,1s"s#sC$,2"F(B]+[ \t]*\\|(?[0-9]+[.)][ \t]*\\)*") + ;; RMS: deleted the code to match `1.' and `(1)'. + "[ \t]*\\([-!|#%;>*,A7$,1s"s#sC$,2"F(B]+[ \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