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 e52cb73964f..953b3d29ac7 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el | |||
| @@ -263,7 +263,7 @@ says which mode to use." | |||
| 263 | (beginning-of-line) | 263 | (beginning-of-line) |
| 264 | (search-forward "%" search-end t)))))) | 264 | (search-forward "%" search-end t)))))) |
| 265 | (if (and slash (not comment)) | 265 | (if (and slash (not comment)) |
| 266 | (setq mode (if (looking-at "documentstyle\\|documentclass\\|begin\\b") | 266 | (setq mode (if (looking-at "documentstyle\\|documentclass\\|begin\\b\\|NeedsTeXFormat{LaTeX") |
| 267 | (if (looking-at | 267 | (if (looking-at |
| 268 | "document\\(style\\|class\\)\\(\\[.*\\]\\)?{slides}") | 268 | "document\\(style\\|class\\)\\(\\[.*\\]\\)?{slides}") |
| 269 | 'slitex-mode | 269 | 'slitex-mode |