Minor fixes.
This commit is contained in:
parent
d17a682498
commit
f197f3b06c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue