aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2006-09-08 12:02:54 +0000
committerRichard M. Stallman2006-09-08 12:02:54 +0000
commit4e05bbf5117744fcef744e787fe74d563b09ed53 (patch)
treedc016b4ebce9f8ade290b44c7d7298b590234e17
parentee1d889f35c91fb491b465a48d3f3f665a562528 (diff)
downloademacs-4e05bbf5117744fcef744e787fe74d563b09ed53.tar.gz
emacs-4e05bbf5117744fcef744e787fe74d563b09ed53.zip
(adaptive-fill-regexp): Don't match `(1)' or `1.'
-rw-r--r--lisp/textmodes/fill.el3
1 files changed, 2 insertions, 1 deletions
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."
89(defcustom adaptive-fill-regexp 89(defcustom adaptive-fill-regexp
90 ;; Added `!' for doxygen comments starting with `//!' or `/*!'. 90 ;; Added `!' for doxygen comments starting with `//!' or `/*!'.
91 ;; Added `%' for TeX comments. 91 ;; Added `%' for TeX comments.
92 (purecopy "[ \t]*\\([-!|#%;>*,A7$,1s"s#sC$,2"F(B]+[ \t]*\\|(?[0-9]+[.)][ \t]*\\)*") 92 ;; RMS: deleted the code to match `1.' and `(1)'.
93 "[ \t]*\\([-!|#%;>*,A7$,1s"s#sC$,2"F(B]+[ \t]*\\)*"
93 "*Regexp to match text at start of line that constitutes indentation. 94 "*Regexp to match text at start of line that constitutes indentation.
94If Adaptive Fill mode is enabled, a prefix matching this pattern 95If Adaptive Fill mode is enabled, a prefix matching this pattern
95on the first and second lines of a paragraph is used as the 96on the first and second lines of a paragraph is used as the