summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-10-28 06:04:10 +0000
committerRichard M. Stallman <rms@gnu.org>1992-10-28 06:04:10 +0000
commitc00ba92641ade947517c24cd1bc8433c61c1de2a (patch)
treebaad4267db0df6e0e7bc95bed494373df226a9fa /lisp
parentc6cf2c1e4f187fdbe69a996521006c7443e0597b (diff)
downloademacs-c00ba92641ade947517c24cd1bc8433c61c1de2a.tar.gz
(manual-program): Always use /usr/ucb/man if that exists.
Diffstat (limited to 'lisp')
-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.")
You may set this variable to nil in your `.emacs' file if you do not wish
the terminal-initialization file to be loaded.")
-(defconst manual-program (if (eq system-type 'berkeley-unix)
+;; Solaris 2 has both of these files; prefer /usr/ucb/man
+;; because the other has nonstandard argument conventions.
+(defconst manual-program (if (file-exists-p "/usr/ucb/man")
"/usr/ucb/man" "/usr/bin/man")
"Program to run to print man pages.")