From d9cbee570fd2a7074b10f71314db2fcb62ecd785 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 27 Nov 2003 23:05:42 +0000 Subject: [PATCH] (latex-mode): `tex-trailer' is not a regexp. --- 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 c6eeed16a20..87dc8fcbc00 100644 --- a/lisp/textmodes/tex-mode.el +++ b/lisp/textmodes/tex-mode.el @@ -902,7 +902,7 @@ subshell is initiated, `tex-shell-hook' is run." (set (make-local-variable 'tex-start-of-header) "\\\\document\\(style\\|class\\)") (set (make-local-variable 'tex-end-of-header) "\\\\begin\\s-*{document}") - (set (make-local-variable 'tex-trailer) "\\end\\s-*{document}\n") + (set (make-local-variable 'tex-trailer) "\\end{document}\n") ;; A line containing just $$ is treated as a paragraph separator. ;; A line starting with $$ starts a paragraph, ;; but does not separate paragraphs if it has more stuff on it. -- 2.39.2