HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca1cf2
)
(tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}.
author
Richard M. Stallman
<rms@gnu.org>
Tue, 3 Jan 1995 22:28:50 +0000
(22:28 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Tue, 3 Jan 1995 22:28:50 +0000
(22:28 +0000)
lisp/textmodes/tex-mode.el
patch
|
blob
|
blame
|
history
diff --git
a/lisp/textmodes/tex-mode.el
b/lisp/textmodes/tex-mode.el
index
e52cb73
..
953b3d2
100644
(file)
--- a/
lisp/textmodes/tex-mode.el
+++ b/
lisp/textmodes/tex-mode.el
@@
-263,7
+263,7
@@
says which mode to use."
(beginning-of-line)
(search-forward "%" search-end t))))))
(if (and slash (not comment))
- (setq mode (if (looking-at "documentstyle\\|documentclass\\|begin\\b")
+ (setq mode (if (looking-at "documentstyle\\|documentclass\\|begin\\b
\\|NeedsTeXFormat{LaTeX
")
(if (looking-at
"document\\(style\\|class\\)\\(\\[.*\\]\\)?{slides}")
'slitex-mode