From: Richard M. Stallman Date: Sun, 24 May 1998 19:40:12 +0000 (+0000) Subject: (Man-getpage-in-background): Bind coding-system-for-write X-Git-Tag: emacs-20.3~860 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cd3b7f95a1af31964d353fcc0299dc7c719ad750;p=emacs.git (Man-getpage-in-background): Bind coding-system-for-write to raw-text-unix instead of binding inhibit-eol-conversion to t. --- diff --git a/lisp/man.el b/lisp/man.el index 8e0fbf8d680..4f9177de797 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -583,7 +583,9 @@ If a buffer already exists for this man page, it will display immediately." (setq Man-original-frame (selected-frame)) (setq Man-arguments man-args)) (let ((process-environment (copy-sequence process-environment)) - (inhibit-eol-conversion t) ; so Awk script gets \n intact + ;; The following is so Awk script gets \n intact + ;; But don't prevent decoding of the outside. + (coding-system-for-write 'raw-text-unix) ;; Avoid possible error by using a directory that always exists. (default-directory "/")) ;; Prevent any attempt to use display terminal fanciness.