From: Stefan Monnier Date: Sat, 2 Nov 2002 02:16:36 +0000 (+0000) Subject: (tex-common-initialization): comment-start-skip shouldn't match on next line. X-Git-Tag: ttn-vms-21-2-B4~12622 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5ae0d69704f5c3f505a642db8e8895c4e1f764a1;p=emacs.git (tex-common-initialization): comment-start-skip shouldn't match on next line. --- diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el index 3715a7dd7c8..f051359143d 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -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)