Minor fixes.

This commit is contained in:
mainzelm 2002-06-26 11:56:14 +00:00
parent d17a682498
commit f197f3b06c
1 changed files with 2 additions and 1 deletions

View File

@ -360,7 +360,7 @@
(display (string-append
"Welcome to scsh "
scsh-version-string
" (Gambit-C 4.0)")
" (" scsh-release-name ")")
(current-output-port))
(newline (current-output-port))
(display "Type ,? for help."
@ -399,6 +399,7 @@
(define (add-narrowed-exit-hook! thunk)
(set! *narrowed-exit-hooks* (cons thunk *narrowed-exit-hooks*)))
(define (call-narrowed-exit-hooks)
(for-each (lambda (thunk) (thunk)) *narrowed-exit-hooks*))
(define (scsh-exit-now status)
(call-exit-hooks)