Function: TeX-run-discard-foreground

TeX-run-discard-foreground is a byte-compiled function defined in tex.el.

Signature

(TeX-run-discard-foreground NAME COMMAND FILE)

Documentation

Call process with second argument in the foreground, discarding its output.

With support for MS-DOS, especially when dviout is used with PC-9801 series.

Aliases

TeX-run-dviout

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-run-discard-foreground (_name command _file)
  "Call process with second argument in the foreground, discarding its output.
With support for MS-DOS, especially when dviout is used with PC-9801 series."
  (if (and (boundp 'dos-machine-type) (eq dos-machine-type 'pc98)) ;if PC-9801
      (send-string-to-terminal "\e[2J")) ; clear screen
  (call-process TeX-shell (if (eq system-type 'ms-dos) "con") nil nil
                TeX-shell-command-option command)
  (if (eq system-type 'ms-dos)
      (redraw-display)))