From: Stefan Monnier Date: Thu, 27 Nov 2003 23:05:42 +0000 (+0000) Subject: (latex-mode): `tex-trailer' is not a regexp. X-Git-Tag: ttn-vms-21-2-B4~8253 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d9cbee570fd2a7074b10f71314db2fcb62ecd785;p=emacs.git (latex-mode): `tex-trailer' is not a regexp. --- 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.