]> git.eshelyaron.com Git - emacs.git/commitdiff
(texinfo-delete-from-print-queue)
authorRichard M. Stallman <rms@gnu.org>
Tue, 10 Aug 1993 08:24:55 +0000 (08:24 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 10 Aug 1993 08:24:55 +0000 (08:24 +0000)
(texinfo-tex-buffer): Load tex-mode to get tex-start-shell, etc.

lisp/textmodes/texinfo.el

index 4cad729351a534f840245a217e0ee86893bf9129..0f8477ae0268cc7831c83e15bb2d32ad3d16f99a 100644 (file)
@@ -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))