(tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user