From: Kenichi Handa Date: Thu, 23 Oct 1997 12:03:07 +0000 (+0000) Subject: (term-exec-1): Bind inhibit-eol-conversion to t before X-Git-Tag: emacs-20.3~2920 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34c0365b517bf8113fd6fa5e6c2d20dabd862279;p=emacs.git (term-exec-1): Bind inhibit-eol-conversion to t before calling start-process. --- diff --git a/lisp/term.el b/lisp/term.el index e3aefb83b9a..eb453e4dc18 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -1432,7 +1432,10 @@ buffer. The hook term-exec-hook is run after each exec." (format "LINES=%d" term-height) (format "COLUMNS=%d" term-width)) process-environment)) - (process-connection-type t)) + (process-connection-type t) + ;; We should suppress conversion of end-of-line format. + (inhibit-eol-conversion t) + ) (apply 'start-process name buffer "/bin/sh" "-c" (format "stty -nl echo rows %d columns %d sane 2>/dev/null;\