# HG changeset patch # User Karl Heuer # Date 896541287 0 # Node ID a4324fe3e21ef9509f369749573933260b4e15d8 # Parent 7c8d8ad75d43d8dd5e981679ae10077eb5332dee Undo May 15 change. diff -r 7c8d8ad75d43 -r a4324fe3e21e lisp/textmodes/tex-mode.el --- a/lisp/textmodes/tex-mode.el Sat May 30 15:00:07 1998 +0000 +++ b/lisp/textmodes/tex-mode.el Sat May 30 15:14:47 1998 +0000 @@ -218,9 +218,6 @@ "Command to run TeX. The name of the file, preceded by a blank, will be added to this string.") -(defvar tex-command-end "" - "String to add to the end of the command to run TeX.") - (defvar tex-trailer nil "String appended after the end of a region sent to TeX by \\[tex-region].") @@ -487,7 +484,6 @@ (setq mode-name "TeX") (setq major-mode 'plain-tex-mode) (setq tex-command tex-run-command) - (setq tex-command-end " \\\\nonstopmode\\\\input") (setq tex-start-of-header "%\\*\\*start of header") (setq tex-end-of-header "%\\*\\*end of header") (setq tex-trailer "\\bye\n") @@ -713,7 +709,6 @@ facemenu-end-add-face "}" facemenu-remove-face-function t) (make-local-variable 'tex-command) - (make-local-variable 'tex-command-end) (make-local-variable 'tex-start-of-header) (make-local-variable 'tex-end-of-header) (make-local-variable 'tex-trailer)) @@ -1067,7 +1062,7 @@ (defun tex-start-tex (command file) "Start a TeX run, using COMMAND on FILE." - (let* ((cmd (concat command text-command-end)) + (let* ((cmd (concat command " \\\\nonstopmode\\\\input")) (star (string-match "\\*" cmd)) (compile-command (if star (concat (substring cmd 0 star)