diff options
| author | Richard M. Stallman | 1994-08-07 06:47:57 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-08-07 06:47:57 +0000 |
| commit | 98b29a3edb9e2198fed7b3d60faf907a0fa121ed (patch) | |
| tree | ae15150c4e5cd6a488de639aab50f1300833b2bd /lisp | |
| parent | 1ae2097f5083eaf491f5a2c1efd19b712b6c3c5a (diff) | |
| download | emacs-98b29a3edb9e2198fed7b3d60faf907a0fa121ed.tar.gz emacs-98b29a3edb9e2198fed7b3d60faf907a0fa121ed.zip | |
(tex-mode): Accept documentclass when checking Slitex.
Diffstat (limited to 'lisp')
| -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)))) |