Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
98b29a3e
Commit
98b29a3e
authored
Aug 07, 1994
by
Richard M. Stallman
Browse files
(tex-mode): Accept documentclass when checking Slitex.
parent
1ae2097f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
lisp/textmodes/tex-mode.el
lisp/textmodes/tex-mode.el
+1
-1
No files found.
lisp/textmodes/tex-mode.el
View file @
98b29a3e
...
...
@@ -262,7 +262,7 @@ says which mode to use."
(
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
))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment