formatting

svn: r11860
This commit is contained in:
Eli Barzilay 2008-09-24 20:38:57 +00:00
parent 6bb96f95b0
commit 95526fbc5a

View File

@ -180,8 +180,8 @@
(let-values ([(defs inters) (unpack-submission submission)])
(parameterize ([current-input-port
(if textualize?
(input-port->text-input-port (open-input-text-editor
defs 0 'end snip->text))
(input-port->text-input-port
(open-input-text-editor defs 0 'end snip->text))
(open-input-text-editor defs))]
[current-output-port (open-output-bytes)])
(input->process->output maxwidth textualize? untabify? bad-re)
@ -345,7 +345,8 @@
[keyvals '()]
[got null])
(define (get key . default)
(cond [(assq key keyvals) => (lambda (x) (set! got (cons x got)) (caddr x))]
(cond [(assq key keyvals)
=> (lambda (x) (set! got (cons x got)) (caddr x))]
[(pair? default) (car default)]
[else #f]))
(syntax-case stx ()