]> git.eshelyaron.com Git - emacs.git/commitdiff
(manual-program): New (actually reintroduced) variable.
authorKarl Heuer <kwzh@gnu.org>
Tue, 5 Apr 1994 03:40:06 +0000 (03:40 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 5 Apr 1994 03:40:06 +0000 (03:40 +0000)
(Man-getpage-in-background): Don't hardcode the program name.

lisp/man.el

index 64faa8d930d2312036aef28366c151fcf9e91f4b..37ff5c5f82b0dc8c58d5a30842af742c34c8c657 100644 (file)
@@ -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))
     )))