fix bad call-with-output-file

svn: r7794
This commit is contained in:
Matthew Flatt 2007-11-21 02:05:34 +00:00
parent 04fb4eacec
commit 71eead5349

View File

@ -56,8 +56,8 @@
(call-with-output-file autosave-toc-filename (call-with-output-file autosave-toc-filename
(λ (port) (λ (port)
(write new-name-mapping port)) (write new-name-mapping port))
'truncate #:exists 'truncate
'text)))) #:mode 'text))))
(let ([seconds (preferences:get 'framework:autosave-delay)]) (let ([seconds (preferences:get 'framework:autosave-delay)])
(start (* 1000 seconds) #t))) (start (* 1000 seconds) #t)))
(super-new) (super-new)