changeset 53185:85f57f9a360f

(latex-mode): `tex-trailer' is not a regexp.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 27 Nov 2003 23:05:42 +0000
parents 1ce6314af22e
children d6dc58f9beaa
files lisp/textmodes/tex-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el	Thu Nov 27 21:59:16 2003 +0000
+++ b/lisp/textmodes/tex-mode.el	Thu Nov 27 23:05:42 2003 +0000
@@ -902,7 +902,7 @@
   (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.