comparison lisp/textmodes/texinfmt.el @ 6309:9217f29851c2

Don't use triple-hyphen in a character class.
author Karl Heuer <kwzh@gnu.org>
date Sat, 12 Mar 1994 00:23:12 +0000
parents eec34ce70181
children 0facf5c89fff
comparison
equal deleted inserted replaced
6308:f34deea7dc2c 6309:9217f29851c2
1880 (end-of-line) 1880 (end-of-line)
1881 ;; Do not fill a section title line with asterisks, hyphens, etc. that 1881 ;; Do not fill a section title line with asterisks, hyphens, etc. that
1882 ;; are used to underline it. This could occur if the line following 1882 ;; are used to underline it. This could occur if the line following
1883 ;; the underlining is not an index entry and has text within it. 1883 ;; the underlining is not an index entry and has text within it.
1884 (let* ((previous-paragraph-separate paragraph-separate) 1884 (let* ((previous-paragraph-separate paragraph-separate)
1885 (paragraph-separate (concat paragraph-separate "\\|^[=*---.]+")) 1885 (paragraph-separate (concat paragraph-separate "\\|^[-=*.]+"))
1886 (previous-paragraph-start paragraph-start) 1886 (previous-paragraph-start paragraph-start)
1887 (paragraph-start (concat paragraph-start "\\|^[=*---.]+"))) 1887 (paragraph-start (concat paragraph-start "\\|^[-=*.]+")))
1888 (unwind-protect 1888 (unwind-protect
1889 (fill-paragraph nil) 1889 (fill-paragraph nil)
1890 (setq paragraph-separate previous-paragraph-separate) 1890 (setq paragraph-separate previous-paragraph-separate)
1891 (setq paragraph-start previous-paragraph-start)))) 1891 (setq paragraph-start previous-paragraph-start))))
1892 1892