fix get-preferences when the file isn't there
svn: r5896
This commit is contained in:
parent
b41a2abf23
commit
61785f1fc8
|
@ -344,7 +344,7 @@
|
|||
(= (car cache)
|
||||
(file-or-directory-modify-seconds fn #f (lambda () -inf.0))))))
|
||||
(cdr cache)
|
||||
(let ([ts (file-or-directory-modify-seconds fn)]
|
||||
(let ([ts (file-or-directory-modify-seconds fn #f (lambda () -inf.0))]
|
||||
[f (read-prefs fn)])
|
||||
(pref-cache-install! fn fn f)
|
||||
f))))
|
||||
|
|
Loading…
Reference in New Issue
Block a user