aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1998-05-30 15:14:47 +0000
committerKarl Heuer1998-05-30 15:14:47 +0000
commit68dabb618a82aa10945a05644b2c39babda38269 (patch)
tree284be1c2d9f49938dca4079b7c4ffb59848ca5a2
parenta46fddeb85fa7fbd33f5cb45c48aec5e2be75009 (diff)
downloademacs-68dabb618a82aa10945a05644b2c39babda38269.tar.gz
emacs-68dabb618a82aa10945a05644b2c39babda38269.zip
Undo May 15 change.
-rw-r--r--lisp/textmodes/tex-mode.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 46f30434f5d..43447bcc7ab 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -218,9 +218,6 @@ tex shell terminates.")
218 "Command to run TeX. 218 "Command to run TeX.
219The name of the file, preceded by a blank, will be added to this string.") 219The name of the file, preceded by a blank, will be added to this string.")
220 220
221(defvar tex-command-end ""
222 "String to add to the end of the command to run TeX.")
223
224(defvar tex-trailer nil 221(defvar tex-trailer nil
225 "String appended after the end of a region sent to TeX by \\[tex-region].") 222 "String appended after the end of a region sent to TeX by \\[tex-region].")
226 223
@@ -487,7 +484,6 @@ special subshell is initiated, the hook `tex-shell-hook' is run."
487 (setq mode-name "TeX") 484 (setq mode-name "TeX")
488 (setq major-mode 'plain-tex-mode) 485 (setq major-mode 'plain-tex-mode)
489 (setq tex-command tex-run-command) 486 (setq tex-command tex-run-command)
490 (setq tex-command-end " \\\\nonstopmode\\\\input")
491 (setq tex-start-of-header "%\\*\\*start of header") 487 (setq tex-start-of-header "%\\*\\*start of header")
492 (setq tex-end-of-header "%\\*\\*end of header") 488 (setq tex-end-of-header "%\\*\\*end of header")
493 (setq tex-trailer "\\bye\n") 489 (setq tex-trailer "\\bye\n")
@@ -713,7 +709,6 @@ Entering SliTeX mode runs the hook `text-mode-hook', then the hook
713 facemenu-end-add-face "}" 709 facemenu-end-add-face "}"
714 facemenu-remove-face-function t) 710 facemenu-remove-face-function t)
715 (make-local-variable 'tex-command) 711 (make-local-variable 'tex-command)
716 (make-local-variable 'tex-command-end)
717 (make-local-variable 'tex-start-of-header) 712 (make-local-variable 'tex-start-of-header)
718 (make-local-variable 'tex-end-of-header) 713 (make-local-variable 'tex-end-of-header)
719 (make-local-variable 'tex-trailer)) 714 (make-local-variable 'tex-trailer))
@@ -1067,7 +1062,7 @@ If NOT-ALL is non-nil, save the `.dvi' file."
1067 1062
1068(defun tex-start-tex (command file) 1063(defun tex-start-tex (command file)
1069 "Start a TeX run, using COMMAND on FILE." 1064 "Start a TeX run, using COMMAND on FILE."
1070 (let* ((cmd (concat command text-command-end)) 1065 (let* ((cmd (concat command " \\\\nonstopmode\\\\input"))
1071 (star (string-match "\\*" cmd)) 1066 (star (string-match "\\*" cmd))
1072 (compile-command 1067 (compile-command
1073 (if star (concat (substring cmd 0 star) 1068 (if star (concat (substring cmd 0 star)