From: Richard M. Stallman Date: Tue, 10 Aug 1993 08:24:55 +0000 (+0000) Subject: (texinfo-delete-from-print-queue) X-Git-Tag: emacs-19.34~11320 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=97c6c316f691cbe1ba2c34bf650d5cf069674fa9;p=emacs.git (texinfo-delete-from-print-queue) (texinfo-tex-buffer): Load tex-mode to get tex-start-shell, etc. --- 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 (interactive) ;; Make sure TeX shell is running. + (require 'tex-mode) (if (get-buffer "*tex-shell*") (quit-process (get-process "tex-shell") t) (tex-start-shell)) @@ -730,6 +731,7 @@ This runs the shell command defined by `tex-dvi-print-command'." You are prompted for the job number (use a number shown by a previous \\[texinfo-show-tex-print-queue] command)." (interactive "nPrinter job number for deletion: ") + (require 'tex-mode) (if (tex-shell-running) (tex-kill-job) (tex-start-shell))