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 c8f6b53c838..00518f8578b 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -262,7 +262,7 @@ says which mode to use." | |||
| 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\\|documentclass") | 264 | (setq mode (if (looking-at "documentstyle\\|documentclass") |
| 265 | (if (looking-at "documentstyle{slides}") | 265 | (if (looking-at "documentstyle{slides}\\|documentclass{slides}") |
| 266 | 'slitex-mode | 266 | 'slitex-mode |
| 267 | 'latex-mode) | 267 | 'latex-mode) |
| 268 | 'plain-tex-mode)))) | 268 | 'plain-tex-mode)))) |