1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-04 20:27:45 +00:00

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

to raw-text-unix instead of binding inhibit-eol-conversion to t.
This commit is contained in:
Richard M. Stallman 1998-05-24 19:40:12 +00:00
parent 3e9890d1eb
commit cd3b7f95a1

View 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.