summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-08-29 16:11:53 +0000
committerRichard M. Stallman <rms@gnu.org>2003-08-29 16:11:53 +0000
commitf44a5d5870d188a4de8aab8c479ed0fdf8d572a3 (patch)
tree8acd978545d3458159d0ff06bd1e6a08d813b5c2
parent55a87770f5a9fa72eb58405615b6a5dc3d078d7f (diff)
downloademacs-f44a5d5870d188a4de8aab8c479ed0fdf8d572a3.tar.gz
(term-exec-1): Bind coding-system-for-read.
-rw-r--r--lisp/term.el2
1 files changed, 2 insertions, 0 deletions
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"