diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-04-05 03:40:06 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-04-05 03:40:06 +0000 |
commit | 2788b7c90370275f9e897674c12caa2598bc16c1 (patch) | |
tree | be8bc6daa6bc9619dd3ba5401b6e4154602df0b1 /lisp/man.el | |
parent | 3bd13e92038b96817b6709d8f65bd37bc7d70f59 (diff) | |
download | emacs-2788b7c90370275f9e897674c12caa2598bc16c1.tar.gz |
(manual-program): New (actually reintroduced) variable.
(Man-getpage-in-background): Don't hardcode the program name.
Diffstat (limited to 'lisp/man.el')
-rw-r--r-- | lisp/man.el | 5 |
1 files changed, 4 insertions, 1 deletions
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)) ))) |