(tex-mode): Check for documentclass like documentstyle.
This commit is contained in:
parent
b5a8e0fc22
commit
f3d79de9e7
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,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")
|
||||
(setq mode (if (looking-at "documentstyle\\|documentclass")
|
||||
(if (looking-at "documentstyle{slides}")
|
||||
'slitex-mode
|
||||
'latex-mode)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue