X-Git-Url: https://git.distorted.org.uk/~mdw/lisp/blobdiff_plain/9b2e67a5b9f0d9e1e5eba1f57f3a94c1863e368a..f4df6cf47a48e12e3e18d3d2a6285147f6f1c147:/mdw-mop.lisp diff --git a/mdw-mop.lisp b/mdw-mop.lisp index 0766e38..e88ff12 100644 --- a/mdw-mop.lisp +++ b/mdw-mop.lisp @@ -27,7 +27,7 @@ ;;; Packages. (defpackage #:mdw.mop - (:use #:common-lisp #+cmu #:pcl) + (:use #:common-lisp #:mdw.base #+cmu #:pcl) (:export #:compatible-class #:initargs-for-effective-slot #:make-effective-slot #:filtered-slot-class-mixin @@ -152,7 +152,7 @@ (call-next-method))) (defmethod initialize-instance :after - ((slot filtered-direct-slot-definition) &key &allow-other-keys) + ((slot filtered-direct-slot-definition) &key) (with-slots (filter) slot (when (and (consp filter) (or (eq (car filter) 'function) @@ -191,7 +191,7 @@ returning a non-nil value.")) (defmethod shared-initialize :after - ((class predicate-class-mixin) slot-names &key &allow-other-keys) + ((class predicate-class-mixin) slot-names &key) (declare (ignore slot-names)) (with-slots (predicates) class (dolist (predicate predicates) @@ -274,7 +274,7 @@ (progn (format stream " ~@_~:I") (setf sep t))) (let ((name (pprint-pop)) (value (pprint-pop))) - (format stream "~S ~@_~:[~S~;~*~]" + (format stream "~S ~@_~:[~W~;#~*~]" name (eq value magic) value)))))))) ;;;----- That's all, folks --------------------------------------------------