;;; -*-Scheme-*-
;;;
-;;; $Id: loadef.scm,v 1.18 1992/11/05 23:31:52 cph Exp $
+;;; $Id: loadef.scm,v 1.19 1992/11/13 22:22:53 cph Exp $
;;;
;;; Copyright (c) 1986, 1989-92 Massachusetts Institute of Technology
;;;
false
boolean?)
+(define-variable manual-command
+ "A string containing the manual page formatting command.
+Section (if any) and topic strings are appended (with space separators)
+and the resulting string is provided to a shell running in a subprocess."
+ false
+ string-or-false?)
+
(define-library 'print
'("print" (EDWIN)))
(define-autoload-command 'print-region 'PRINT
"Print region contents as with Unix command `lpr -p'.")
-
+\f
(define-library 'SORT
'("sort" (EDWIN)))
;;; -*-Scheme-*-
;;;
-;;; $Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/edwin/manual.scm,v 1.10 1992/08/25 19:27:22 cph Exp $
+;;; $Id: manual.scm,v 1.11 1992/11/13 22:22:45 cph Exp $
;;;
;;; Copyright (c) 1991-92 Massachusetts Institute of Technology
;;;
topic
"...")
(shell-command false (buffer-point buffer) false false
- (string-append (if (file-exists? "/usr/bin/man")
- "/usr/bin/man"
- "/usr/ucb/man")
+ (string-append (or (ref-variable manual-command)
+ (if (file-exists? "/usr/bin/man")
+ "/usr/bin/man"
+ "/usr/ucb/man"))
(if section
(string-append " " section)
"")