prefs no longer ok

svn: r7371
This commit is contained in:
Robby Findler 2007-09-17 18:49:35 +00:00
parent eee752fde1
commit fae2462619

View File

@ -53,10 +53,7 @@
(lambda (who what mode) (lambda (who what mode)
(when (memq 'write mode) (when (memq 'write mode)
(unless (let ([np-what (normal-path what)]) (unless (let ([np-what (normal-path what)])
(or (sub-path? np-what (or (sub-path? np-what (normal-path (find-system-path 'temp-dir)))
(normal-path (find-system-path 'temp-dir)))
(sub-path? np-what
(normal-path (find-system-path 'pref-dir)))
(equal? np-what (normal-path (LINKAGE-FILE))))) (equal? np-what (normal-path (LINKAGE-FILE)))))
(error 'slideshow (error 'slideshow
"slide program attempted to write to filesystem: ~e" "slide program attempted to write to filesystem: ~e"