# HG changeset patch # User Stefan Monnier # Date 1069974342 0 # Node ID 85f57f9a360f672047d12fb68bda4e6e3474c781 # Parent 1ce6314af22ee54251d985934da16afd53c6e0a3 (latex-mode): `tex-trailer' is not a regexp. diff -r 1ce6314af22e -r 85f57f9a360f lisp/textmodes/tex-mode.el --- 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.