X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=lisp%2Fcode-process.el;h=88902b1f922ef1367eec89b6ed31fca99691fd1f;hp=526639dd462d93c292c4602183a7c72ba1ad1b4e;hb=716cfba952c1dc0d2cf5c968971f3780ba728a89;hpb=d74da9234cc42e8018b1500105c3892a5c46d5e3 diff --git a/lisp/code-process.el b/lisp/code-process.el index 526639d..88902b1 100644 --- a/lisp/code-process.el +++ b/lisp/code-process.el @@ -30,10 +30,6 @@ ;;; Code: -(eval-when-compile - (defvar buffer-file-type) - (defvar binary-process-output)) - (defvar process-coding-system-alist nil "Alist to decide a coding system to use for a process I/O operation. The format is ((PATTERN . VAL) ...), @@ -112,8 +108,7 @@ If you quit, the process is first killed with SIGINT, then with SIGKILL if you quit again before the process exits." (let ((temp (make-temp-name - (concat (file-name-as-directory (temp-directory)) - (if (memq system-type '(ms-dos windows-nt)) "em" "emacs"))))) + (concat (file-name-as-directory (temp-directory)) "emacs")))) (unwind-protect (let (cs-r cs-w) (let (ret) @@ -137,10 +132,7 @@ you quit again before the process exits." (or coding-system-for-read cs-r)) (coding-system-for-write (or coding-system-for-write cs-w))) - (if (memq system-type '(ms-dos windows-nt)) - (let ((buffer-file-type binary-process-output)) - (write-region start end temp nil 'silent)) - (write-region start end temp nil 'silent)) + (write-region start end temp nil 'silent) (if deletep (delete-region start end)) (apply #'call-process program temp buffer displayp args))) (ignore-file-errors (delete-file temp))))) @@ -257,4 +249,4 @@ lost packets." (or coding-system-for-write cs-w))) (open-network-stream-internal name buffer host service protocol)))) -;;; mule-process.el ends here +;;; code-process.el ends here