changeset 48918:199771712967

(Man-getpage-in-background): Put GROFF_NO_SGR in env.
author Richard M. Stallman <rms@gnu.org>
date Sat, 21 Dec 2002 20:21:25 +0000
parents 9b8d6678be5c
children 8c3de3bc4e1c
files lisp/man.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/man.el	Sat Dec 21 20:20:47 2002 +0000
+++ b/lisp/man.el	Sat Dec 21 20:21:25 2002 +0000
@@ -618,7 +618,9 @@
 	     (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)))