changeset 6353:f00fc681daa4

(Man-build-man-command): Redirect desc 2 to /dev/null. (Man-getpage-in-background): Require env before printing message.
author Richard M. Stallman <rms@gnu.org>
date Mon, 14 Mar 1994 22:37:58 +0000
parents 6f48bd9145f9
children a74524e1c961
files lisp/man.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/man.el	Mon Mar 14 22:30:12 1994 +0000
+++ b/lisp/man.el	Mon Mar 14 22:37:58 1994 +0000
@@ -271,7 +271,7 @@
 
 (defun Man-build-man-command ()
   "Builds the entire background manpage and cleaning command."
-  (let ((command (concat "man " Man-switches " %s 2>&1"))
+  (let ((command (concat "man " Man-switches " %s 2>/dev/null"))
 	(flist Man-filter-list))
     (while flist
       (let ((pcom (car (car flist)))
@@ -451,6 +451,7 @@
 	     (not override-reuse-p)
 	     buffer)
 	(Man-notify-when-ready buffer)
+      (require 'env)
       (message "Invoking man %s in background..." man-args)
       (setq buffer (generate-new-buffer bufname))
       (let ((process-environment (copy-sequence process-environment)))