X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-format.lisp;h=13c348053ecffc9dc487aba8ecc5f2c660084a51;hb=d5aafdd8ab6387e12bac187048ed322bc96fb79a;hp=78001b916ba15dc0d00192aa889fbeb75578d2ad;hpb=26b8ddda97fcfa2e2c0eae3bd2fdb19717c5fa40;p=sbcl.git diff --git a/src/code/target-format.lisp b/src/code/target-format.lisp index 78001b9..13c3480 100644 --- a/src/code/target-format.lisp +++ b/src/code/target-format.lisp @@ -120,14 +120,10 @@ (defun ,defun-name (stream ,directive ,directives orig-args args) (declare (ignorable stream orig-args args)) ,@(if lambda-list - `((let ,(mapcar #'(lambda (var) - `(,var - (,(intern (concatenate - 'string - "FORMAT-DIRECTIVE-" - (symbol-name var)) - (symbol-package 'foo)) - ,directive))) + `((let ,(mapcar (lambda (var) + `(,var + (,(symbolicate "FORMAT-DIRECTIVE-" var) + ,directive))) (butlast lambda-list)) (values (progn ,@body) args))) `((declare (ignore ,directive ,directives))