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:
parent
eca1cf26c3
commit
c0bcb2393b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue