]> git.eshelyaron.com Git - emacs.git/commitdiff
(adaptive-fill-regexp): Don't match `(1)' or `1.'
authorRichard M. Stallman <rms@gnu.org>
Fri, 8 Sep 2006 12:02:54 +0000 (12:02 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 8 Sep 2006 12:02:54 +0000 (12:02 +0000)
lisp/textmodes/fill.el

index af97ca83e6e1b089172eb4b8b2b4c1e9c5e981af..514350119fef4543ce65d9d138e5ac3eb21bb87f 100644 (file)
@@ -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]*\\([-!|#%;>*\e,A7\e$,1s"s#sC\e$,2"F\e(B]+[ \t]*\\|(?[0-9]+[.)][ \t]*\\)*")
+  ;; RMS: deleted the code to match `1.' and `(1)'.
+  "[ \t]*\\([-!|#%;>*\e,A7\e$,1s"s#sC\e$,2"F\e(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