diff options
| author | Richard M. Stallman | 1995-01-03 22:28:50 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-01-03 22:28:50 +0000 |
| commit | c0bcb2393b65411a747b0cd33394098bfd07ea57 (patch) | |
| tree | 52115b3b0b54bc00f893364d8f24e2147cc54628 /lisp/textmodes | |
| parent | eca1cf26c3b8d353578b0dad874835341a317c5e (diff) | |
| download | emacs-c0bcb2393b65411a747b0cd33394098bfd07ea57.tar.gz emacs-c0bcb2393b65411a747b0cd33394098bfd07ea57.zip | |
(tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}.
Diffstat (limited to 'lisp/textmodes')
| -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 |