# HG changeset patch # User Karl Heuer # Date 765517206 0 # Node ID 7251020c1c79cee7f2eb990b454b2f7037f5a003 # Parent cf38c5af079dff8c85ec88ecbe965e65ea45c7eb (manual-program): New (actually reintroduced) variable. (Man-getpage-in-background): Don't hardcode the program name. diff -r cf38c5af079d -r 7251020c1c79 lisp/man.el --- 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)) )))