Minor fixes.
This commit is contained in:
parent
d17a682498
commit
f197f3b06c
|
@ -360,7 +360,7 @@
|
||||||
(display (string-append
|
(display (string-append
|
||||||
"Welcome to scsh "
|
"Welcome to scsh "
|
||||||
scsh-version-string
|
scsh-version-string
|
||||||
" (Gambit-C 4.0)")
|
" (" scsh-release-name ")")
|
||||||
(current-output-port))
|
(current-output-port))
|
||||||
(newline (current-output-port))
|
(newline (current-output-port))
|
||||||
(display "Type ,? for help."
|
(display "Type ,? for help."
|
||||||
|
@ -399,6 +399,7 @@
|
||||||
(define (add-narrowed-exit-hook! thunk)
|
(define (add-narrowed-exit-hook! thunk)
|
||||||
(set! *narrowed-exit-hooks* (cons thunk *narrowed-exit-hooks*)))
|
(set! *narrowed-exit-hooks* (cons thunk *narrowed-exit-hooks*)))
|
||||||
(define (call-narrowed-exit-hooks)
|
(define (call-narrowed-exit-hooks)
|
||||||
|
(for-each (lambda (thunk) (thunk)) *narrowed-exit-hooks*))
|
||||||
|
|
||||||
(define (scsh-exit-now status)
|
(define (scsh-exit-now status)
|
||||||
(call-exit-hooks)
|
(call-exit-hooks)
|
||||||
|
|
Loading…
Reference in New Issue