From: Kevin Rosenberg Date: Sun, 6 Jun 2010 17:12:08 +0000 (-0600) Subject: Merge branch 'master' of ssh://git.b9.com/home/gitpub/umlisp X-Git-Tag: debian-2007ac.2-6~3 X-Git-Url: http://git.kpe.io/?p=umlisp.git;a=commitdiff_plain;h=cb84d39847530c3317d03230eb82af671c71ef79;hp=d0a199def3bf3f5fb569db92089e7acdb421df8a Merge branch 'master' of ssh://git.b9.com/home/gitpub/umlisp --- 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) diff --git a/sql-classes.lisp b/sql-classes.lisp index 912a3fc..87d59bf 100644 --- a/sql-classes.lisp +++ b/sql-classes.lisp @@ -911,8 +911,8 @@ is OBJNAME from TABLE where WHERE-NAME field = WHERE-VALUE with FIELDS" only-exact-if-match limit &key extra-lookup-args) (let ((uobjs '())) (dolist (word (delimited-string-to-list str #\space)) - (setq uobjs (append uobjs - (kmrcl:flatten (apply obj-lookup-fun word :srl srl extra-lookup-args))))) + (setq uobjs (nconc uobjs + (kmrcl:flatten (apply obj-lookup-fun word :srl srl extra-lookup-args))))) (let ((sorted (funcall sort-fun str (delete-duplicates uobjs :test #'= :key key))))