Mercurial > emacs
changeset 33257:ec6dad239f0c
(texinfo-chapter-level-regexp): Remove.
(texinfo-mode): Hard code texinfo-chapter-level-regexp.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 06 Nov 2000 15:49:33 +0000 |
parents | cc66e1e4c5d3 |
children | e2ec8e65cd35 |
files | lisp/textmodes/texinfo.el |
diffstat | 1 files changed, 1 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/texinfo.el Mon Nov 06 15:48:27 2000 +0000 +++ b/lisp/textmodes/texinfo.el Mon Nov 06 15:49:33 2000 +0000 @@ -438,13 +438,6 @@ ;;; Texinfo mode -;; Also defined in texnfo-upd.el but copied here to avoid having -;; to require texnfo-upd.el. -(defvar texinfo-chapter-level-regexp - "chapter\\|unnumbered \\|appendix \\|majorheading\\|chapheading" - "Regular expression matching Texinfo chapter-level headings. -This does not match `@node' and does not match the `@top' command.") - ;;;###autoload (define-derived-mode texinfo-mode text-mode "Texinfo" "Major mode for editing Texinfo files. @@ -516,7 +509,7 @@ (setq page-delimiter (concat "^@node [ \t]*[Tt]op\\|^@\\(" - texinfo-chapter-level-regexp + "chapter\\|unnumbered \\|appendix \\|majorheading\\|chapheading" "\\)")) (make-local-variable 'require-final-newline) (setq require-final-newline t)