aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-10-23 20:39:25 +0000
committerRichard M. Stallman1994-10-23 20:39:25 +0000
commit22378c0edbfb3c4b16ce52f98a1731004db438dd (patch)
tree701f44bad66185239eae87e5b7122ea113b7912c
parent0704eec93390c133f5688d8cf5c772227cb83f90 (diff)
downloademacs-22378c0edbfb3c4b16ce52f98a1731004db438dd.tar.gz
emacs-22378c0edbfb3c4b16ce52f98a1731004db438dd.zip
(latex-mode): Recognize \item etc. that have no arg
because only a comment follows.
-rw-r--r--lisp/textmodes/tex-mode.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 68562270308..abc1da68bfb 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -395,10 +395,10 @@ subshell is initiated, `tex-shell-hook' is run."
395^\\\\chapter\\>\\|^\\\\section\\>\\|\ 395^\\\\chapter\\>\\|^\\\\section\\>\\|\
396^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ 396^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\
397^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ 397^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\
398^\\\\item[ \t]*$\\|^\\\\bibitem[ \t]*$\\|^\\\\newline[ \t]*$\\|^\\\\noindent[ \t]*$\\|\ 398\\(^\\\\item\\|^\\\\bibitem\\|^\\\\newline\\|^\\\\noindent\\|\
399^\\\\[a-z]*space[ \t]*$\\|^\\\\[a-z]*skip[ \t]*$\\|\ 399^\\\\[a-z]*space\\|^\\\\[a-z]*skip\\|\
400^\\\\newpage[ \t]*$\\|^\\\\[a-z]*page[a-z]*[ \t]*$\\|^\\\\footnote[ \t]*$\\|\ 400^\\\\newpage\\|^\\\\[a-z]*page[a-z]*\\|^\\\\footnote\\|\
401^\\\\marginpar[ \t]*$\\|^\\\\parbox[ \t]*$\\|^\\\\caption[ \t]*$") 401^\\\\marginpar\\|^\\\\parbox\\|^\\\\caption\\)[ \t]*\\($\\|%\\)")
402 (run-hooks 'text-mode-hook 'tex-mode-hook 'latex-mode-hook)) 402 (run-hooks 'text-mode-hook 'tex-mode-hook 'latex-mode-hook))
403 403
404;;;###autoload 404;;;###autoload