aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-05-11 03:19:39 +0000
committerKarl Heuer1994-05-11 03:19:39 +0000
commit17077ab35f8b4986b89dc3eca3605b105b889593 (patch)
tree1b250deff4821735920ee6946e9700728f45fbb3
parenteef4ad20e7b2e54dc063b53fe86d3dbb6aa6c229 (diff)
downloademacs-17077ab35f8b4986b89dc3eca3605b105b889593.tar.gz
emacs-17077ab35f8b4986b89dc3eca3605b105b889593.zip
(Man-build-man-command): Use manual-program, not hardcoded name.
(Man-getpage-in-background): Likewise.
-rw-r--r--lisp/man.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/man.el b/lisp/man.el
index 29d9bf9f1da..40408cf87bb 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -279,7 +279,7 @@ This regular expression should start with a `^' character.")
279 279
280(defun Man-build-man-command () 280(defun Man-build-man-command ()
281 "Builds the entire background manpage and cleaning command." 281 "Builds the entire background manpage and cleaning command."
282 (let ((command (concat "man " Man-switches " %s 2>/dev/null")) 282 (let ((command (concat manual-program " " Man-switches " %s 2>/dev/null"))
283 (flist Man-filter-list)) 283 (flist Man-filter-list))
284 (while flist 284 (while flist
285 (let ((pcom (car (car flist))) 285 (let ((pcom (car (car flist)))
@@ -462,7 +462,7 @@ start a background process even if a buffer already exists and
462 buffer) 462 buffer)
463 (Man-notify-when-ready buffer) 463 (Man-notify-when-ready buffer)
464 (require 'env) 464 (require 'env)
465 (message "Invoking man %s in background." man-args) 465 (message "Invoking %s %s in background." manual-program man-args)
466 (setq buffer (generate-new-buffer bufname)) 466 (setq buffer (generate-new-buffer bufname))
467 (save-excursion 467 (save-excursion
468 (set-buffer buffer) 468 (set-buffer buffer)