Mercurial > emacs
changeset 72722:8c5e09c8076c
(adaptive-fill-regexp): Don't match `(1)' or `1.'
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 08 Sep 2006 12:02:54 +0000 |
parents | 7d4fe4b4afc9 |
children | e32b692e4da5 |
files | lisp/textmodes/fill.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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