X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base-class.lisp;h=93eed698c6befd4686fd2591f98f4be37db44be8;hb=05aebff043c86b2c29831e2db484d850e124bb07;hp=1e3c5dff4ff1fc0bc3e1ce7c0897a78795a49e90;hpb=84f9a22269a37d2d58bdb0f6211f8757855c18ab;p=hyperobject.git diff --git a/base-class.lisp b/base-class.lisp index 1e3c5df..93eed69 100644 --- a/base-class.lisp +++ b/base-class.lisp @@ -7,9 +7,9 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Apr 2000 ;;;; -;;;; $Id: base-class.lisp,v 1.2 2002/12/02 15:57:17 kevin Exp $ +;;;; $Id: base-class.lisp,v 1.8 2003/05/14 08:30:38 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) @@ -22,12 +22,7 @@ (:metaclass hyperobject-class) (:description "Basic hyperobject class")) - (defmethod print-object ((obj hyperobject) (s stream)) - (print-unreadable-object (obj s :type t :identity t) - (let ((fmt (make-instance 'hyperobject::textformat))) - (apply #'format - s (funcall (obj-data-fmtstr fmt) obj) - (multiple-value-list - (funcall (funcall (obj-data-value-func fmt) obj) obj)))))) + (print-unreadable-object (obj s :type t :identity nil) + (funcall (obj-data-func (get-category-view obj :compact-text)) obj s nil)))