redundant begin removed

svn: r3327
This commit is contained in:
Eli Barzilay 2006-06-11 18:03:41 +00:00
parent 976489df84
commit 7d8b11a4a6

View File

@ -1051,12 +1051,11 @@
;; the result indicates if the teachpacks changed #t if they did and #f if not ;; the result indicates if the teachpacks changed #t if they did and #f if not
(define (add-new-teachpack frame) (define (add-new-teachpack frame)
(let ([lib-file (let ([lib-file
(begin (parameterize ([finder:dialog-parent-parameter frame])
(parameterize ([finder:dialog-parent-parameter frame]) (finder:get-file
(finder:get-file teachpack-directory
teachpack-directory (string-constant select-a-teachpack)
(string-constant select-a-teachpack) ".*\\.(ss|scm)$"))])
".*\\.(ss|scm)$")))])
(if lib-file (if lib-file
(let* ([interactions-text (send frame get-interactions-text)] (let* ([interactions-text (send frame get-interactions-text)]
[tp-cache (send interactions-text get-user-teachpack-cache)] [tp-cache (send interactions-text get-user-teachpack-cache)]