From 5ae0d69704f5c3f505a642db8e8895c4e1f764a1 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sat, 2 Nov 2002 02:16:36 +0000 Subject: [PATCH] (tex-common-initialization): comment-start-skip shouldn't match on next line. --- lisp/textmodes/tex-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2