cleaned up

original commit: ebfab9ee0bc3d2313345d264d9f1a63f95966dbb
This commit is contained in:
Robby Findler 1997-04-29 19:36:44 +00:00
parent 65935e74c8
commit a6dbd46b1e

View File

@ -213,12 +213,12 @@
(lambda ()
(mred:debug:printf 'prefs "reading user preferences")
(when (file-exists? preferences-filename)
(let ([input (call-with-input-file preferences-filename read)]
[err
(let ([err
(lambda (input)
(wx:message-box (format "found bad pref: ~n~a" input)
"Preferences"))])
(let loop ([input input])
(let loop ([input (call-with-input-file preferences-filename
read)])
(cond
[(pair? input)
(let/ec k