aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1992-10-28 06:04:10 +0000
committerRichard M. Stallman1992-10-28 06:04:10 +0000
commitc00ba92641ade947517c24cd1bc8433c61c1de2a (patch)
treebaad4267db0df6e0e7bc95bed494373df226a9fa
parentc6cf2c1e4f187fdbe69a996521006c7443e0597b (diff)
downloademacs-c00ba92641ade947517c24cd1bc8433c61c1de2a.tar.gz
emacs-c00ba92641ade947517c24cd1bc8433c61c1de2a.zip
(manual-program): Always use /usr/ucb/man if that exists.
-rw-r--r--lisp/paths.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/paths.el b/lisp/paths.el
index de6c3eec79b..bfde5492ad2 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -109,7 +109,9 @@ Its name should end with a slash.")
109You may set this variable to nil in your `.emacs' file if you do not wish 109You may set this variable to nil in your `.emacs' file if you do not wish
110the terminal-initialization file to be loaded.") 110the terminal-initialization file to be loaded.")
111 111
112(defconst manual-program (if (eq system-type 'berkeley-unix) 112;; Solaris 2 has both of these files; prefer /usr/ucb/man
113;; because the other has nonstandard argument conventions.
114(defconst manual-program (if (file-exists-p "/usr/ucb/man")
113 "/usr/ucb/man" "/usr/bin/man") 115 "/usr/ucb/man" "/usr/bin/man")
114 "Program to run to print man pages.") 116 "Program to run to print man pages.")
115 117