Mercurial > emacs
diff lisp/textmodes/tex-mode.el @ 10325:070c1f54707b
(tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 03 Jan 1995 22:28:50 +0000 |
parents | b18a4ff30816 |
children | f27bcd1faf07 |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Tue Jan 03 07:05:41 1995 +0000 +++ b/lisp/textmodes/tex-mode.el Tue Jan 03 22:28:50 1995 +0000 @@ -263,7 +263,7 @@ (beginning-of-line) (search-forward "%" search-end t)))))) (if (and slash (not comment)) - (setq mode (if (looking-at "documentstyle\\|documentclass\\|begin\\b") + (setq mode (if (looking-at "documentstyle\\|documentclass\\|begin\\b\\|NeedsTeXFormat{LaTeX") (if (looking-at "document\\(style\\|class\\)\\(\\[.*\\]\\)?{slides}") 'slitex-mode