Commit e4d02e04 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(tex-mode): \begin at start of file implies Latex.

parent 13b53275
......@@ -263,7 +263,7 @@ says which mode to use."
(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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment