X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base-class.lisp;h=9682f3d5438b67fb4e009fa7c30bfb526dfbec90;hb=927d5f069190f0911510fac96298dde23e265840;hp=0da829b3d209a27fb0dffeac4ccd016b080efc52;hpb=da95022a6396191e772e59cd7622c7c5919ce605;p=hyperobject.git diff --git a/base-class.lisp b/base-class.lisp index 0da829b..9682f3d 100644 --- a/base-class.lisp +++ b/base-class.lisp @@ -7,14 +7,12 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: base-class.lisp,v 1.3 2002/12/13 05:44:19 kevin Exp $ +;;;; $Id: base-class.lisp,v 1.10 2003/06/06 21:59:29 kevin Exp $ ;;;; -;;;; This file is Copyright (c) 2000-2002 by Kevin M. Rosenberg +;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg ;;;; ************************************************************************* -(in-package :hyperobject) -(eval-when (:compile-toplevel :execute) - (declaim (optimize (speed 2) (safety 2) (compilation-speed 0) (debug 2)))) +(in-package #:hyperobject) (defclass hyperobject () @@ -23,9 +21,7 @@ (:description "Basic hyperobject class")) (defmethod print-object ((obj hyperobject) (s stream)) - (print-unreadable-object (obj s :type t :identity t) - (let ((view (get-category-view obj :compact-text))) - (apply #'format s (slot-value view 'obj-data-fmtstr) - (multiple-value-list - (funcall (slot-value view 'obj-data-value-func) obj)))))) + (print-unreadable-object (obj s :type t :identity nil) + (funcall (obj-data-printer (get-category-view obj :compact-text)) + obj s nil)))