Skip to content

Commit

Permalink
Fix for LispWorks (less specific handler-case) (fixes #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshuebner committed Feb 18, 2013
1 parent d868a44 commit 04dddff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions temporary-files.lisp
Expand Up @@ -64,8 +64,7 @@

(handler-case
(logical-pathname-translations "TEMPORARY-FILES")
(#-clisp type-error
#+clisp simple-error ()
(error ()
(alexandria:if-let (default-temporary-directory (get-default-temporary-directory))
(setf (logical-pathname-translations "TEMPORARY-FILES") `(("*.*.*" ,default-temporary-directory)))
(warn "could not automatically determine a default mapping for TEMPORARY-FILES")))))
Expand Down

0 comments on commit 04dddff

Please sign in to comment.