aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-08-10 08:24:55 +0000
committerRichard M. Stallman1993-08-10 08:24:55 +0000
commit97c6c316f691cbe1ba2c34bf650d5cf069674fa9 (patch)
tree1ab6ec5c8f76ab2657855aae7256b66494eb23a6
parentd7fa63b287b847a7fabc9a3474cb82454f704b1c (diff)
downloademacs-97c6c316f691cbe1ba2c34bf650d5cf069674fa9.tar.gz
emacs-97c6c316f691cbe1ba2c34bf650d5cf069674fa9.zip
(texinfo-delete-from-print-queue)
(texinfo-tex-buffer): Load tex-mode to get tex-start-shell, etc.
-rw-r--r--lisp/textmodes/texinfo.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 4cad729351a..0f8477ae026 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -673,6 +673,7 @@ The value of `texinfo-tex-trailer' is appended to the temporary file after the r
673 (interactive) 673 (interactive)
674 674
675 ;; Make sure TeX shell is running. 675 ;; Make sure TeX shell is running.
676 (require 'tex-mode)
676 (if (get-buffer "*tex-shell*") 677 (if (get-buffer "*tex-shell*")
677 (quit-process (get-process "tex-shell") t) 678 (quit-process (get-process "tex-shell") t)
678 (tex-start-shell)) 679 (tex-start-shell))
@@ -730,6 +731,7 @@ This runs the shell command defined by `tex-dvi-print-command'."
730You are prompted for the job number (use a number shown by a previous 731You are prompted for the job number (use a number shown by a previous
731\\[texinfo-show-tex-print-queue] command)." 732\\[texinfo-show-tex-print-queue] command)."
732 (interactive "nPrinter job number for deletion: ") 733 (interactive "nPrinter job number for deletion: ")
734 (require 'tex-mode)
733 (if (tex-shell-running) 735 (if (tex-shell-running)
734 (tex-kill-job) 736 (tex-kill-job)
735 (tex-start-shell)) 737 (tex-start-shell))