]> git.eshelyaron.com Git - emacs.git/commitdiff
(latex-mode): `tex-trailer' is not a regexp.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Nov 2003 23:05:42 +0000 (23:05 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Nov 2003 23:05:42 +0000 (23:05 +0000)
lisp/textmodes/tex-mode.el

index c6eeed16a20c0e167143a9db6485c44c3a987a0f..87dc8fcbc00866fd4391f7054d325ff4eb32150f 100644 (file)
@@ -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.