summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/man.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 2c8acac2c82..9bcdd8f8f0e 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -583,6 +583,7 @@ 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
;; Avoid possible error by using a directory that always exists.
(default-directory "/"))
;; Prevent any attempt to use display terminal fanciness.