changeset 1489:c3d069d83cc6

(manual-program): Always use /usr/ucb/man if that exists.
author Richard M. Stallman <rms@gnu.org>
date Wed, 28 Oct 1992 06:04:10 +0000
parents 3d8dfdaee443
children 573bc1612edd
files lisp/paths.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/paths.el	Tue Oct 27 20:19:00 1992 +0000
+++ b/lisp/paths.el	Wed Oct 28 06:04:10 1992 +0000
@@ -109,7 +109,9 @@
 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.")