From: Karl Heuer Date: Wed, 8 Apr 1998 18:53:13 +0000 (+0000) Subject: (Man-getpage-in-background): Bind inhibit-eol-conversion X-Git-Tag: emacs-20.3~1641 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0dfb1b759ef5fcd0d14987dc9e9d6ac60c1f1de3;p=emacs.git (Man-getpage-in-background): Bind inhibit-eol-conversion to t before calling start-process or call-process. --- diff --git a/lisp/man.el b/lisp/man.el index 2c8acac2c82..9bcdd8f8f0e 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -583,6 +583,7 @@ 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 ;; Avoid possible error by using a directory that always exists. (default-directory "/")) ;; Prevent any attempt to use display terminal fanciness.