From: Richard M. Stallman Date: Fri, 29 Aug 2003 16:11:53 +0000 (+0000) Subject: (term-exec-1): Bind coding-system-for-read. X-Git-Tag: ttn-vms-21-2-B4~8959 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f44a5d5870d188a4de8aab8c479ed0fdf8d572a3;p=emacs.git (term-exec-1): Bind coding-system-for-read. --- diff --git a/lisp/term.el b/lisp/term.el index 9f49ee96045..247ce136f04 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -1347,6 +1347,8 @@ buffer. The hook term-exec-hook is run after each exec." (process-connection-type t) ;; We should suppress conversion of end-of-line format. (inhibit-eol-conversion t) + ;; inhibit-eol-conversion doesn't seem to do the job, but this does. + (coding-system-for-read 'unknown-unix) ) (apply 'start-process name buffer "/bin/sh" "-c"