summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1998-05-24 19:40:12 +0000
committerRichard M. Stallman <rms@gnu.org>1998-05-24 19:40:12 +0000
commitcd3b7f95a1af31964d353fcc0299dc7c719ad750 (patch)
tree90b8d83e1131e7549b0414b740a1c8d206ac2ba5 /lisp/man.el
parent3e9890d1ebffc095829d9460b8472d1e0d3f0d77 (diff)
downloademacs-cd3b7f95a1af31964d353fcc0299dc7c719ad750.tar.gz
(Man-getpage-in-background): Bind coding-system-for-write
to raw-text-unix instead of binding inhibit-eol-conversion to t.
Diffstat (limited to 'lisp/man.el')
-rw-r--r--lisp/man.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 8e0fbf8d680..4f9177de797 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -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.