# HG changeset patch # User Richard M. Stallman # Date 776143343 0 # Node ID e0f2f3fc75fa396b95b9bae3f82b0546866620e6 # Parent c281b470d63389361b321e272b7ca4b59bb8deab (tex-mode): Check for documentclass like documentstyle. diff -r c281b470d633 -r e0f2f3fc75fa lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Sat Aug 06 03:19:35 1994 +0000 +++ b/lisp/textmodes/tex-mode.el Sat Aug 06 03:22:23 1994 +0000 @@ -261,7 +261,7 @@ (beginning-of-line) (search-forward "%" search-end t)))))) (if (and slash (not comment)) - (setq mode (if (looking-at "documentstyle") + (setq mode (if (looking-at "documentstyle\\|documentclass") (if (looking-at "documentstyle{slides}") 'slitex-mode 'latex-mode)