From: Karl Heuer Date: Tue, 5 Apr 1994 03:40:06 +0000 (+0000) Subject: (manual-program): New (actually reintroduced) variable. X-Git-Tag: emacs-19.34~9176 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2788b7c90370275f9e897674c12caa2598bc16c1;p=emacs.git (manual-program): New (actually reintroduced) variable. (Man-getpage-in-background): Don't hardcode the program name. --- 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)) )))