X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fpprint.lisp;h=f938d30bb370c9677a4996fad7525e165f1677a7;hb=d84e1dbbbf11e76663cfaa0b1a5b7591f39f01b6;hp=d0f7b57e6c1a80f7ab75f60f6dc054a3d600c82f;hpb=2a1df4bcc815f763fac346f32fbe535b39a0d2e1;p=sbcl.git diff --git a/src/code/pprint.lisp b/src/code/pprint.lisp index d0f7b57..f938d30 100644 --- a/src/code/pprint.lisp +++ b/src/code/pprint.lisp @@ -1261,6 +1261,15 @@ line break." stream list)) +(defun pprint-defmethod (stream list &rest noise) + (declare (ignore noise)) + (if (consp (third list)) + (pprint-defun stream list) + (funcall (formatter + "~:<~^~W~^ ~@_~:I~W~^ ~W~^ ~:_~/SB!PRETTY:PPRINT-LAMBDA-LIST/~1I~@{ ~_~W~}~:>") + stream + list))) + (defun pprint-defpackage (stream list &rest noise) (declare (ignore noise)) (funcall (formatter @@ -1518,6 +1527,7 @@ line break." (define-modify-macro pprint-defun) (define-setf-expander pprint-defun) (defmacro pprint-defun) + (defmethod pprint-defmethod) (defpackage pprint-defpackage) (defparameter pprint-block) (defsetf pprint-defun)