diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/textmodes/tex-mode.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 103ebda9f67..c8f6b53c838 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -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) |