1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}.

This commit is contained in:
Richard M. Stallman 1995-01-03 22:28:50 +00:00
parent eca1cf26c3
commit c0bcb2393b

View file

@ -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