diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-01-03 22:28:50 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-01-03 22:28:50 +0000 |
commit | c0bcb2393b65411a747b0cd33394098bfd07ea57 (patch) | |
tree | 52115b3b0b54bc00f893364d8f24e2147cc54628 /lisp | |
parent | eca1cf26c3b8d353578b0dad874835341a317c5e (diff) | |
download | emacs-c0bcb2393b65411a747b0cd33394098bfd07ea57.tar.gz emacs-c0bcb2393b65411a747b0cd33394098bfd07ea57.tar.bz2 emacs-c0bcb2393b65411a747b0cd33394098bfd07ea57.zip |
(tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/textmodes/tex-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index e52cb73964f..953b3d29ac7 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -263,7 +263,7 @@ says which mode to use." (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 |