unuse-package
unuse-package packages-to-unuse &optional package → t
packages-to-unuse—a designator for a list of package designators.
Issue PACKAGE-FUNCTION-CONSISTENCY is silent on whether a "package designator" is really the right thing here, but KAB, Sandra, and KMP agree that this is what was probably intended.package—a package designator. The default is the current package.
11.2.0 37unuse-package causes package to cease inheriting all the external symbols of packages-to-unuse; unuse-package undoes the effects of use-package. The packages-to-unuse are removed from the use list of package.
Sandra: Redundant. The \term{external symbols} of the \param{packages-to-unuse} are no longer inherited. However,Any symbols that have been imported into package continue to be present in package.
(in-package "COMMON-LISP-USER") → #<PACKAGE "COMMON-LISP-USER"> (export (intern "SHOES" (make-package 'temp)) 'temp) → T (find-symbol "SHOES") → NIL, NIL (use-package 'temp) → T (find-symbol "SHOES") → SHOES, :INHERITED (find (find-package 'temp) (package-use-list 'common-lisp-user)) → #<PACKAGE "TEMP"> (unuse-package 'temp) → T (find-symbol "SHOES") → NIL, NIL
The use list of package is modified.
None.
None.