changeset 7453:9b14642f7d52

(Man-build-man-command): Use manual-program, not hardcoded name. (Man-getpage-in-background): Likewise.
author Karl Heuer <kwzh@gnu.org>
date Wed, 11 May 1994 03:19:39 +0000
parents 359c1d0a565e
children 8d9e41a175fa
files lisp/man.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/man.el	Wed May 11 02:27:28 1994 +0000
+++ b/lisp/man.el	Wed May 11 03:19:39 1994 +0000
@@ -279,7 +279,7 @@
 
 (defun Man-build-man-command ()
   "Builds the entire background manpage and cleaning command."
-  (let ((command (concat "man " Man-switches " %s 2>/dev/null"))
+  (let ((command (concat manual-program " " Man-switches " %s 2>/dev/null"))
 	(flist Man-filter-list))
     (while flist
       (let ((pcom (car (car flist)))
@@ -462,7 +462,7 @@
 	     buffer)
 	(Man-notify-when-ready buffer)
       (require 'env)
-      (message "Invoking man %s in background." man-args)
+      (message "Invoking %s %s in background." manual-program man-args)
       (setq buffer (generate-new-buffer bufname))
       (save-excursion
 	(set-buffer buffer)