From 2788b7c90370275f9e897674c12caa2598bc16c1 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 5 Apr 1994 03:40:06 +0000 Subject: [PATCH] (manual-program): New (actually reintroduced) variable. (Man-getpage-in-background): Don't hardcode the program name. --- lisp/man.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/man.el b/lisp/man.el index 64faa8d930d..37ff5c5f82b 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -76,6 +76,9 @@ ;; vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv ;; user variables +(defvar manual-program "man" + "The name of the program that produces man pages.") + (defvar Man-notify 'friendly "*Selects the behavior when manpage is ready. This variable may have one of the following values: @@ -468,7 +471,7 @@ start a background process even if a buffer already exists and ;; Prevent any attempt to use display terminal fanciness. (setenv "TERM" "dumb") (set-process-sentinel - (start-process "man" buffer "sh" "-c" + (start-process manual-program buffer "sh" "-c" (format (Man-build-man-command) man-args)) 'Man-bgproc-sentinel)) ))) -- 2.11.4.GIT