comparison lisp/textmodes/fill.el @ 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 e37026af049b
children 7e762349b1c3 a1a25ac6c88a
comparison
equal deleted inserted replaced
72721:7d4fe4b4afc9 72722:8c5e09c8076c
87 :group 'fill) 87 :group 'fill)
88 88
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.
94 If Adaptive Fill mode is enabled, a prefix matching this pattern 95 If Adaptive Fill mode is enabled, a prefix matching this pattern
95 on the first and second lines of a paragraph is used as the 96 on the first and second lines of a paragraph is used as the
96 standard indentation for the whole paragraph. 97 standard indentation for the whole paragraph.
97 98