diff lisp/man.el @ 22217:e83578642825

(Man-getpage-in-background): Bind coding-system-for-write to raw-text-unix instead of binding inhibit-eol-conversion to t.
author Richard M. Stallman <rms@gnu.org>
date Sun, 24 May 1998 19:40:12 +0000
parents 3aad7ffd0cd3
children c3a15ab5924f
line wrap: on
line diff
--- a/lisp/man.el	Sun May 24 18:29:22 1998 +0000
+++ b/lisp/man.el	Sun May 24 19:40:12 1998 +0000
@@ -583,7 +583,9 @@
 	(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.