File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed
Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 219219
220220(defun local-client-info ()
221221 (let ((info-file (qmerge " client-info.sexp" )))
222- (if (probe-file info-file)
223- (load-client-info info-file)
224- ( progn
225- (warn " Missing client-info.sexp, using mock info" )
226- (mock-client-info)))))
222+ (cond ( (probe-file info-file)
223+ (load-client-info info-file) )
224+ ( t
225+ (warn " Missing client-info.sexp, using mock info" )
226+ (mock-client-info)))))
227227
228228(defun newest-client-info (&optional (info (local-client-info)))
229229 (let ((latest (subscription-url info)))
Original file line number Diff line number Diff line change @@ -319,12 +319,12 @@ quicklisp at CL startup."
319319 (ql-ccl :delete-directory pathname )))
320320
321321(defimplementation (delete-directory-tree :qualifier :around ) (pathname )
322- (if (directoryp pathname )
323- (call-next-method )
324- ( progn
325- (warn " delete-directory-tree - not a directory, ~
326- deleting anyway -- ~s " pathname )
327- (delete-file pathname ))))
322+ (cond ( (directoryp pathname )
323+ (call-next-method ) )
324+ ( t
325+ (warn " delete-directory-tree - not a directory, ~
326+ deleting anyway -- ~s " pathname )
327+ (delete-file pathname ))))
328328
329329(defun map-directory-tree (directory fun)
330330 " Call FUN for every file in directory and all its subdirectories,
You can’t perform that action at this time.
0 commit comments