changeset 6676:7251020c1c79

(manual-program): New (actually reintroduced) variable. (Man-getpage-in-background): Don't hardcode the program name.
author Karl Heuer <kwzh@gnu.org>
date Tue, 05 Apr 1994 03:40:06 +0000
parents cf38c5af079d
children 3c7e3d1cc3ad
files lisp/man.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/man.el	Tue Apr 05 03:32:07 1994 +0000
+++ b/lisp/man.el	Tue Apr 05 03:40:06 1994 +0000
@@ -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 @@
 	;; 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))
     )))