diff options
| author | Richard M. Stallman | 1994-08-06 03:22:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-08-06 03:22:23 +0000 |
| commit | f3d79de9e7db32a1919c7a77c6de963d6bbdcac0 (patch) | |
| tree | 2a65f489a28425bd92baf1697529995d1599cb78 | |
| parent | b5a8e0fc22235ed2169d8a3d292a899a1fb118f6 (diff) | |
| download | emacs-f3d79de9e7db32a1919c7a77c6de963d6bbdcac0.tar.gz emacs-f3d79de9e7db32a1919c7a77c6de963d6bbdcac0.zip | |
(tex-mode): Check for documentclass like documentstyle.
| -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) |