mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(tex-mode): Accept documentclass when checking Slitex.
This commit is contained in:
parent
1ae2097f50
commit
98b29a3edb
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ says which mode to use."
|
|||
(search-forward "%" search-end t))))))
|
||||
(if (and slash (not comment))
|
||||
(setq mode (if (looking-at "documentstyle\\|documentclass")
|
||||
(if (looking-at "documentstyle{slides}")
|
||||
(if (looking-at "documentstyle{slides}\\|documentclass{slides}")
|
||||
'slitex-mode
|
||||
'latex-mode)
|
||||
'plain-tex-mode))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue