X-Git-Url: http://git.kpe.io/?p=umlisp.git;a=blobdiff_plain;f=parse-common.lisp;h=ae7af531d762865617de025b4ad5bc2d9b998acc;hp=67a523636f787679afcac0c3689f4747700467b7;hb=b0307c538e2018939a9b3ab00daa2099720ab1c3;hpb=20b21169e71e1a70b95289fb0e6a6a7a8a55153e diff --git a/parse-common.lisp b/parse-common.lisp index 67a5236..ae7af53 100644 --- a/parse-common.lisp +++ b/parse-common.lisp @@ -45,8 +45,8 @@ (defun ufile-pathname (ufile &optional (extension "")) "Return pathname for a umls filename with an optional extension" (assert (typep ufile 'ufile)) - (let* ((dirs (append (list (dir ufile)) - (awhen (subdir ufile) (list it)))) + (let* ((dirs (nconc (list (dir ufile)) + (awhen (subdir ufile) (list it)))) (name-list (delimited-string-to-list (fil ufile) #\.)) (name (if (second name-list) (first name-list)