diff options
| -rw-r--r-- | lisp/man.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/man.el b/lisp/man.el index 66dbbf766a5..9ed474f77b6 100644 --- a/lisp/man.el +++ b/lisp/man.el | |||
| @@ -271,7 +271,7 @@ This regular expression should start with a `^' character.") | |||
| 271 | 271 | ||
| 272 | (defun Man-build-man-command () | 272 | (defun Man-build-man-command () |
| 273 | "Builds the entire background manpage and cleaning command." | 273 | "Builds the entire background manpage and cleaning command." |
| 274 | (let ((command (concat "man " Man-switches " %s 2>&1")) | 274 | (let ((command (concat "man " Man-switches " %s 2>/dev/null")) |
| 275 | (flist Man-filter-list)) | 275 | (flist Man-filter-list)) |
| 276 | (while flist | 276 | (while flist |
| 277 | (let ((pcom (car (car flist))) | 277 | (let ((pcom (car (car flist))) |
| @@ -451,6 +451,7 @@ start a background process even if a buffer already exists and | |||
| 451 | (not override-reuse-p) | 451 | (not override-reuse-p) |
| 452 | buffer) | 452 | buffer) |
| 453 | (Man-notify-when-ready buffer) | 453 | (Man-notify-when-ready buffer) |
| 454 | (require 'env) | ||
| 454 | (message "Invoking man %s in background..." man-args) | 455 | (message "Invoking man %s in background..." man-args) |
| 455 | (setq buffer (generate-new-buffer bufname)) | 456 | (setq buffer (generate-new-buffer bufname)) |
| 456 | (let ((process-environment (copy-sequence process-environment))) | 457 | (let ((process-environment (copy-sequence process-environment))) |