X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fpprint.lisp;h=ef17572173438c15693ea47d827ce682c1f5001e;hb=a00ea11a89c9db677e60edf6832c905a4527b5cb;hp=07f87255d41ae5d9e868b9a769a72e1d5098ff5a;hpb=70a16828572748140239e3c74f34a2967e1e5131;p=sbcl.git diff --git a/src/code/pprint.lisp b/src/code/pprint.lisp index 07f8725..ef17572 100644 --- a/src/code/pprint.lisp +++ b/src/code/pprint.lisp @@ -1007,16 +1007,7 @@ line break." (output-ugly-object array stream)) ((and *print-readably* (not (array-readably-printable-p array))) - (restart-case - (error 'print-not-readable :object array) - (print-unreadably () - :report "Print unreadably." - (let ((*print-readably* nil)) - (pprint-array stream array))) - (use-value (o) - :report "Supply an object to be printed instead." - :interactive read-unreadable-replacement - (write o :stream stream)))) + (print-not-readable-error array stream)) ((vectorp array) (pprint-vector stream array)) (t @@ -1145,7 +1136,9 @@ line break." (declare (ignore noise)) (if (and (consp list) (consp (cdr list)) - (cddr list)) + (cddr list) + ;; Filter out (FLET FOO :IN BAR) names. + (not (eq :in (third list)))) (funcall (formatter "~:<~^~W~^ ~@_~:<~@{~:<~^~W~^~3I ~:_~/SB!PRETTY:PPRINT-LAMBDA-LIST/~1I~:@_~@{~W~^ ~_~}~:>~^ ~_~}~:>~1I~@:_~@{~W~^ ~_~}~:>") stream