diff options
| author | Richard M. Stallman | 1993-11-11 07:52:56 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-11 07:52:56 +0000 |
| commit | bb946175c2de50ce8d66f503a8ba8bd2cd3e000f (patch) | |
| tree | a9d484c32e2a51374c9e911638a5991511d3691c | |
| parent | f5f76002c2e2f7c5714556dd9246f39d7cfc9a9e (diff) | |
| download | emacs-bb946175c2de50ce8d66f503a8ba8bd2cd3e000f.tar.gz emacs-bb946175c2de50ce8d66f503a8ba8bd2cd3e000f.zip | |
(texinfo-texi2dvi-command): Separate `texi2dvi'
command from `tex' command so `texinfo-format-region' can use
straight `tex' command.
(texinfo-format-buffer): Use `texinfo-texi2dvi-command'
(texinfo-delete-from-print-queue): Revise documentation.
| -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) |