X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fpackage.lisp;h=b1366d66de690a422245219f1d9049b967774d17;hb=237f2c62f339d84e3813ec2a3799f3e17a097d40;hp=e8aeb85a762ba653eae839b8a1ed1b638d64f0cb;hpb=a9d113c53175ab3215697f7cf6ab6b7c1f448d5a;p=sbcl.git diff --git a/src/code/package.lisp b/src/code/package.lisp index e8aeb85..b1366d6 100644 --- a/src/code/package.lisp +++ b/src/code/package.lisp @@ -208,9 +208,9 @@ &body body) #!+sb-doc "Within the lexical scope of the body forms, MNAME is defined via macrolet - such that successive invocations of (MNAME) will return the symbols, - one by one, from the packages in PACKAGE-LIST. SYMBOL-TYPES may be - any of :INHERITED :EXTERNAL :INTERNAL." +such that successive invocations of (MNAME) will return the symbols, one by +one, from the packages in PACKAGE-LIST. SYMBOL-TYPES may be any +of :INHERITED :EXTERNAL :INTERNAL." (let* ((packages (gensym)) (these-packages (gensym)) (ordered-types (let ((res nil)) @@ -295,10 +295,10 @@ :INHERITED must be supplied.")) ,(dolist (symbol symbol-types) (unless (member symbol '(:internal :external :inherited)) - (error 'program-error + (error 'simple-program-error :format-control "~S is not one of :INTERNAL, :EXTERNAL, or :INHERITED." - :format-argument symbol))) + :format-arguments (list symbol)))) (,init-macro ,(car ordered-types)) (flet ((,real-symbol-p (number) (> number 1)))