X-Git-Url: http://git.kpe.io/?p=kmrcl.git;a=blobdiff_plain;f=impl.lisp;h=93fe3f791f455294432ecaa60a851eb0060e6cf4;hp=a814cc4d1b0a08d42eb75d94abde0aef1f0b4f7a;hb=90225d9ba12f7a9116bcc923afdaf6e76a8c6728;hpb=f03310d76a2458e5efb45b89f8e6b087db7f4ed1 diff --git a/impl.lisp b/impl.lisp index a814cc4..93fe3f7 100644 --- a/impl.lisp +++ b/impl.lisp @@ -37,7 +37,7 @@ path)))) -(defun probe-directory (filename &key (error-if-not-exists nil)) +(defun probe-directory (filename &key (error-if-does-not-exist nil)) (let* ((path (canonicalize-directory-name filename)) (probe #+allegro (excl:probe-directory path) @@ -58,7 +58,7 @@ (probe-file path))) (if probe probe - (when error-if-not-exists + (when error-if-does-not-exist (error "Directory ~A does not exist." filename))))) (defun cwd (&optional dir)