[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/tex-buf.el
From: |
Masayuki Ataka |
Subject: |
[AUCTeX-diffs] Changes to auctex/tex-buf.el |
Date: |
Sat, 28 Jan 2006 12:50:53 +0000 |
Index: auctex/tex-buf.el
diff -u auctex/tex-buf.el:1.243 auctex/tex-buf.el:1.244
--- auctex/tex-buf.el:1.243 Tue Jan 24 20:39:55 2006
+++ auctex/tex-buf.el Sat Jan 28 12:50:53 2006
@@ -680,15 +680,16 @@
TeX-shell-command-option
command)))
-(defun TeX-run-dviout (name command file)
- "Call process with second argument, discarding its output. With support
-for the dviout previewer, especially when used with PC-9801 series."
+(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)))
+(defalias 'TeX-run-dviout 'TeX-run-discard-foreground)
(defun TeX-run-background (name command file)
"Start process with second argument, show output when and if it arrives."