1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00

(tex-mode): Allow for documentclass options when checking for SliTeX.

This commit is contained in:
Richard M. Stallman 1994-08-17 20:30:22 +00:00
parent a1943c34bb
commit 0edb981589

View File

@ -262,7 +262,8 @@ 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}\\|documentclass{slides}")
(if (looking-at
"document\\(style\\|class\\)\\(\\[.*\\]\\)?{slides}")
'slitex-mode
'latex-mode)
'plain-tex-mode))))