From: Richard M. Stallman Date: Fri, 8 Sep 2006 12:02:54 +0000 (+0000) Subject: (adaptive-fill-regexp): Don't match `(1)' or `1.' X-Git-Tag: emacs-pretest-22.0.90~693 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4e05bbf5117744fcef744e787fe74d563b09ed53;p=emacs.git (adaptive-fill-regexp): Don't match `(1)' or `1.' --- diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index af97ca83e6e..514350119fe 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -89,7 +89,8 @@ reinserts the fill prefix in each resulting line." (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