1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 03:40:56 -08:00

(Man-getpage-in-background): Put GROFF_NO_SGR in env.

This commit is contained in:
Richard M. Stallman 2002-12-21 20:25:25 +00:00
parent 44a9ca8b7e
commit f0088f4de8
2 changed files with 18 additions and 3 deletions

View file

@ -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)))