HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b27d9d
)
tweak to ensure-batch-mode!
author
Andy Wingo
<wingo@pobox.com>
Sat, 26 Jun 2010 20:18:37 +0000
(22:18 +0200)
committer
Andy Wingo
<wingo@pobox.com>
Sat, 26 Jun 2010 20:18:37 +0000
(22:18 +0200)
* module/ice-9/boot-9.scm (ensure-batch-mode!): Fix to be correct
regarding dynamic extent (so far as this hack goes).
module/ice-9/boot-9.scm
patch
|
blob
|
blame
|
history
diff --git
a/module/ice-9/boot-9.scm
b/module/ice-9/boot-9.scm
index
bd5625d
..
c735816
100644
(file)
--- a/
module/ice-9/boot-9.scm
+++ b/
module/ice-9/boot-9.scm
@@
-2698,7
+2698,7
@@
module '(ice-9 q) '(make-q q-length))}."
;; to abort to the outermost prompt, and call a thunk there.
;;
(define (ensure-batch-mode!)
- (
fluid-set! *repl-level* #f
))
+ (
set! batch-mode? (lambda () #t)
))
(define (quit . args)
(apply throw 'quit args))