yatex
diff yatexprc.el @ 68:0eb6997bee16
More adjustment for Emacs20 and XEmacs
[prefix] g for <applet> <!--#include> <!--#exec>
author | yuuji |
---|---|
date | Mon, 26 Oct 1998 12:05:32 +0000 |
parents | 36a48185b95a |
children | 807c1e7e68b7 |
line diff
1.1 --- a/yatexprc.el Tue Dec 16 13:28:38 1997 +0000 1.2 +++ b/yatexprc.el Mon Oct 26 12:05:32 1998 +0000 1.3 @@ -2,7 +2,7 @@ 1.4 ;;; YaTeX process handler. 1.5 ;;; yatexprc.el 1.6 ;;; (c )1993-1997 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] 1.7 -;;; Last modified Thu Dec 11 16:16:21 1997 on crx 1.8 +;;; Last modified Mon Mar 9 11:44:29 1998 on crx 1.9 ;;; $Id$ 1.10 1.11 ;(require 'yatex) 1.12 @@ -22,6 +22,7 @@ 1.13 1.14 (defvar YaTeX-shell-command-option 1.15 (or (and (boundp 'shell-command-option) shell-command-option) 1.16 + (and (boundp 'shell-command-switch) shell-command-switch) 1.17 (if YaTeX-dos "/c" "-c")) 1.18 "Shell option for command execution.") 1.19 1.20 @@ -329,8 +330,8 @@ 1.21 "Kill process PROC after sending signal to PROC. 1.22 PROC should be process identifier." 1.23 (cond 1.24 - (YaTeX-dos 1.25 - (error "MS-DOS can't have concurrent process.")) 1.26 + ((not (fboundp 'start-process)) 1.27 + (error "This system can't have concurrent process.")) 1.28 ((or (null proc) (not (eq (process-status proc) 'run))) 1.29 (message "Typesetting process is not running.")) 1.30 (t 1.31 @@ -477,7 +478,7 @@ 1.32 nil t) 1.33 nil 1.34 (select-window cur-win) 1.35 - (error "No more erros on %s" cur-buf)) 1.36 + (error "No more errors on %s" cur-buf)) 1.37 (goto-char (match-beginning 0)) 1.38 (skip-chars-forward "^0-9" (match-end 0)) 1.39 (setq error-line