diff options
| -rw-r--r-- | lisp/textmodes/texinfo.el | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index 64dbe1814ad..1ea2832845b 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el | |||
| @@ -579,7 +579,10 @@ to jump to the corresponding spot in the Texinfo source file." | |||
| 579 | 579 | ||
| 580 | ;;; The tex and print function definitions: | 580 | ;;; The tex and print function definitions: |
| 581 | 581 | ||
| 582 | (defvar texinfo-tex-command "texi2dvi" | 582 | (defvar texinfo-texi2dvi-command "texi2dvi" |
| 583 | "*Command used by `texinfo-tex-buffer' to run TeX and texindex on a buffer.") | ||
| 584 | |||
| 585 | (defvar texinfo-tex-command "tex" | ||
| 583 | "*Command used by `texinfo-tex-region' to run TeX on a region.") | 586 | "*Command used by `texinfo-tex-region' to run TeX on a region.") |
| 584 | 587 | ||
| 585 | (defvar texinfo-texindex-command "texindex" | 588 | (defvar texinfo-texindex-command "texindex" |
| @@ -698,7 +701,7 @@ The value of `texinfo-tex-trailer' is appended to the temporary file after the r | |||
| 698 | " " (file-name-directory tex-zap-file) "\n")) | 701 | " " (file-name-directory tex-zap-file) "\n")) |
| 699 | 702 | ||
| 700 | (send-string "tex-shell" | 703 | (send-string "tex-shell" |
| 701 | (concat texinfo-tex-command " " tex-zap-file "\n")) | 704 | (concat texinfo-texi2dvi-command " " tex-zap-file "\n")) |
| 702 | 705 | ||
| 703 | (tex-recenter-output-buffer 0)) | 706 | (tex-recenter-output-buffer 0)) |
| 704 | 707 | ||
| @@ -732,12 +735,12 @@ This runs the shell command defined by `tex-dvi-print-command'." | |||
| 732 | (set-buffer (get-buffer "*tex-shell*")) | 735 | (set-buffer (get-buffer "*tex-shell*")) |
| 733 | (goto-char (point-max)) | 736 | (goto-char (point-max)) |
| 734 | (insert "x") | 737 | (insert "x") |
| 735 | (shell-send-input))) | 738 | (comint-send-input))) |
| 736 | 739 | ||
| 737 | (defun texinfo-delete-from-print-queue (job-number) | 740 | (defun texinfo-delete-from-print-queue (job-number) |
| 738 | "Delete job from the line printer spooling queue. | 741 | "Delete job from the line printer spooling queue. |
| 739 | You are prompted for the job number (use a number shown by a previous | 742 | You are prompted for the job number (use a number shown by a previous |
| 740 | \\[texinfo-show-tex-print-queue] command)." | 743 | \\[texinfo-show-print-queue] command)." |
| 741 | (interactive "nPrinter job number for deletion: ") | 744 | (interactive "nPrinter job number for deletion: ") |
| 742 | (require 'tex-mode) | 745 | (require 'tex-mode) |
| 743 | (if (tex-shell-running) | 746 | (if (tex-shell-running) |