Mercurial > emacs
changeset 10318:b18a4ff30816
(tex-mode): \begin at start of file implies Latex.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 02 Jan 1995 23:07:36 +0000 |
parents | dad32dba58bf |
children | bf67e2fdd393 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Mon Jan 02 23:01:16 1995 +0000 +++ b/lisp/textmodes/tex-mode.el Mon Jan 02 23:07:36 1995 +0000 @@ -263,7 +263,7 @@ (beginning-of-line) (search-forward "%" search-end t)))))) (if (and slash (not comment)) - (setq mode (if (looking-at "documentstyle\\|documentclass") + (setq mode (if (looking-at "documentstyle\\|documentclass\\|begin\\b") (if (looking-at "document\\(style\\|class\\)\\(\\[.*\\]\\)?{slides}") 'slitex-mode