]> git.eshelyaron.com Git - emacs.git/commitdiff
(tex-common-initialization): comment-start-skip shouldn't match on next line.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 2 Nov 2002 02:16:36 +0000 (02:16 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 2 Nov 2002 02:16:36 +0000 (02:16 +0000)
lisp/textmodes/tex-mode.el

index 3715a7dd7c8ca1c18ab20d5e581287de60380b2d..f051359143d887b94da9d109d8b8cb6fa08964bf 100644 (file)
@@ -897,7 +897,7 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook
   (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)