changeset 48120:16ca3f0efd84

(tex-common-initialization): comment-start-skip shouldn't match on next line.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 02 Nov 2002 02:16:36 +0000
parents df3f64f68cfe
children be4301be9646
files lisp/textmodes/tex-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el	Sat Nov 02 01:38:03 2002 +0000
+++ b/lisp/textmodes/tex-mode.el	Sat Nov 02 02:16:36 2002 +0000
@@ -897,7 +897,7 @@
   (set (make-local-variable 'comment-start) "%")
   (set (make-local-variable 'comment-add) 1)
   (set (make-local-variable 'comment-start-skip)
-       "\\(\\(^\\|[^\\]\\)\\(\\\\\\\\\\)*\\)\\(%+ *\\)")
+       "\\(\\(^\\|[^\\\n]\\)\\(\\\\\\\\\\)*\\)\\(%+ *\\)")
   (set (make-local-variable 'parse-sexp-ignore-comments) t)
   (set (make-local-variable 'compare-windows-whitespace)
        'tex-categorize-whitespace)