summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1998-04-08 18:53:13 +0000
committerKarl Heuer <kwzh@gnu.org>1998-04-08 18:53:13 +0000
commit0dfb1b759ef5fcd0d14987dc9e9d6ac60c1f1de3 (patch)
tree63d5c4b0531818363ad4d350a28c706a50bb0f7d /lisp/man.el
parent2d060bebe753f34bdd55d36f9ff06bb669ef581c (diff)
downloademacs-0dfb1b759ef5fcd0d14987dc9e9d6ac60c1f1de3.tar.gz
(Man-getpage-in-background): Bind inhibit-eol-conversion
to t before calling start-process or call-process.
Diffstat (limited to 'lisp/man.el')
-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.