summaryrefslogtreecommitdiff
path: root/lisp/man.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-12-21 20:25:25 +0000
committerRichard M. Stallman <rms@gnu.org>2002-12-21 20:25:25 +0000
commitf0088f4de8dfd17b6a2a1bf48cb2e1a8b7d39a3c (patch)
treecabbca4c3db4a658e42d64a517bc53d2fc590f91 /lisp/man.el
parent44a9ca8b7ef609ce41685ae6049c734928c9ea83 (diff)
downloademacs-f0088f4de8dfd17b6a2a1bf48cb2e1a8b7d39a3c.tar.gz
(Man-getpage-in-background): Put GROFF_NO_SGR in env.
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 c5a5acd1282..855565242e2 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -618,7 +618,9 @@ all sections related to a subject, put something appropriate into the
(start-process manual-program buffer "sh" "-c"
(format (Man-build-man-command) man-args))
'Man-bgproc-sentinel)
- (progn
+ (let ((process-environment
+ (cons "GROFF_NO_SGR=1" process-environment)))
+
(let ((exit-status
(call-process shell-file-name nil (list buffer nil) nil "-c"
(format (Man-build-man-command) man-args)))