Mercurial > emacs
changeset 9672:fdc268ab037d
(latex-mode): Recognize \item etc. that have no arg
because only a comment follows.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 23 Oct 1994 20:39:25 +0000 |
parents | 5c7a3709e81a |
children | 5ec29dee380c |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Sun Oct 23 09:40:07 1994 +0000 +++ b/lisp/textmodes/tex-mode.el Sun Oct 23 20:39:25 1994 +0000 @@ -395,10 +395,10 @@ ^\\\\chapter\\>\\|^\\\\section\\>\\|\ ^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ ^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ -^\\\\item[ \t]*$\\|^\\\\bibitem[ \t]*$\\|^\\\\newline[ \t]*$\\|^\\\\noindent[ \t]*$\\|\ -^\\\\[a-z]*space[ \t]*$\\|^\\\\[a-z]*skip[ \t]*$\\|\ -^\\\\newpage[ \t]*$\\|^\\\\[a-z]*page[a-z]*[ \t]*$\\|^\\\\footnote[ \t]*$\\|\ -^\\\\marginpar[ \t]*$\\|^\\\\parbox[ \t]*$\\|^\\\\caption[ \t]*$") +\\(^\\\\item\\|^\\\\bibitem\\|^\\\\newline\\|^\\\\noindent\\|\ +^\\\\[a-z]*space\\|^\\\\[a-z]*skip\\|\ +^\\\\newpage\\|^\\\\[a-z]*page[a-z]*\\|^\\\\footnote\\|\ +^\\\\marginpar\\|^\\\\parbox\\|^\\\\caption\\)[ \t]*\\($\\|%\\)") (run-hooks 'text-mode-hook 'tex-mode-hook 'latex-mode-hook)) ;;;###autoload