Merge branch 'master' of ssh://git.b9.com/home/gitpub/umlisp
authorKevin Rosenberg <kevin@rosenberg.net>
Sun, 6 Jun 2010 17:12:08 +0000 (11:12 -0600)
committerKevin Rosenberg <kevin@rosenberg.net>
Sun, 6 Jun 2010 17:12:08 +0000 (11:12 -0600)
parse-common.lisp
sql-classes.lisp

index 67a523636f787679afcac0c3689f4747700467b7..ae7af531d762865617de025b4ad5bc2d9b998acc 100644 (file)
@@ -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)
index 912a3fc37fae6cd7e6dcba8344389a128cac7d38..87d59bfeff89409b1a11e710afd14869fc12c4f2 100644 (file)
@@ -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))))