# HG changeset patch # User Richard M. Stallman # Date 776242077 0 # Node ID 03938bbc5bbb30ab6b2e895c2b44a968c5752f45 # Parent c285c3b0ea5465b23551d8b703876645e93858e2 (tex-mode): Accept documentclass when checking Slitex. diff -r c285c3b0ea54 -r 03938bbc5bbb lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Sun Aug 07 06:40:55 1994 +0000 +++ b/lisp/textmodes/tex-mode.el Sun Aug 07 06:47:57 1994 +0000 @@ -262,7 +262,7 @@ (search-forward "%" search-end t)))))) (if (and slash (not comment)) (setq mode (if (looking-at "documentstyle\\|documentclass") - (if (looking-at "documentstyle{slides}") + (if (looking-at "documentstyle{slides}\\|documentclass{slides}") 'slitex-mode 'latex-mode) 'plain-tex-mode))))