]> git.eshelyaron.com Git - emacs.git/commitdiff
(Man-getpage-in-background): Bind coding-system-for-write
authorRichard M. Stallman <rms@gnu.org>
Sun, 24 May 1998 19:40:12 +0000 (19:40 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 24 May 1998 19:40:12 +0000 (19:40 +0000)
to raw-text-unix instead of binding inhibit-eol-conversion to t.

lisp/man.el

index 8e0fbf8d68005b5f2d09b0604c8864e01a988204..4f9177de797f52262437377869c0e97eaaba8f27 100644 (file)
@@ -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.