diff options
| -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." | |||
| 261 | (beginning-of-line) | 261 | (beginning-of-line) |
| 262 | (search-forward "%" search-end t)))))) | 262 | (search-forward "%" search-end t)))))) |
| 263 | (if (and slash (not comment)) | 263 | (if (and slash (not comment)) |
| 264 | (setq mode (if (looking-at "documentstyle") | 264 | (setq mode (if (looking-at "documentstyle\\|documentclass") |
| 265 | (if (looking-at "documentstyle{slides}") | 265 | (if (looking-at "documentstyle{slides}") |
| 266 | 'slitex-mode | 266 | 'slitex-mode |
| 267 | 'latex-mode) | 267 | 'latex-mode) |