Commit cd3b7f95 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Man-getpage-in-background): Bind coding-system-for-write

to raw-text-unix instead of binding inhibit-eol-conversion to t.
parent 3e9890d1
...@@ -583,7 +583,9 @@ If a buffer already exists for this man page, it will display immediately." ...@@ -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-original-frame (selected-frame))
(setq Man-arguments man-args)) (setq Man-arguments man-args))
(let ((process-environment (copy-sequence process-environment)) (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. ;; Avoid possible error by using a directory that always exists.
(default-directory "/")) (default-directory "/"))
;; Prevent any attempt to use display terminal fanciness. ;; Prevent any attempt to use display terminal fanciness.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment