From: Thomas M. Hermann Date: Mon, 10 Jun 2013 17:00:00 +0000 (-0500) Subject: Fix issue 17 in remove-tags. X-Git-Tag: Version-1.0.0~5 X-Git-Url: https://repo.or.cz/w/lisp-unit.git/commitdiff_plain/f50c3daac23f126b7e91d3e767657fd59e349081 Fix issue 17 in remove-tags. --- diff --git a/lisp-unit.lisp b/lisp-unit.lisp index 66a4213..efaae1a 100644 --- a/lisp-unit.lisp +++ b/lisp-unit.lisp @@ -362,12 +362,11 @@ assertion.") (if (null package) (clrhash *tag-db*) (remhash (find-package package) *tag-db*)) - (with-package-tags (tags package) - (with-package-table (table package) - (loop for tag in tags - unless (remhash tag table) do - (warn "No tag ~A in package ~A to remove." - tag (package-name package))))))) + (with-package-tags (tag-table package) + (loop for tag in tags + unless (remhash tag tag-table) do + (warn "No tag ~A in package ~A to remove." + tag (package-name package)))))) ;;; Assert macros