1
Fork 0
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:
Richard M. Stallman 1994-08-07 06:47:57 +00:00
parent 1ae2097f50
commit 98b29a3edb

View file

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