X-Git-Url: http://git.kpe.io/?p=hyperobject.git;a=blobdiff_plain;f=base-class.lisp;h=e4becfe8d2c8cfb7c680dbce9424902f0e75a1c3;hp=47085cc9a38adee1355a93f3166fd9d83086adcf;hb=90c2e4c13bd89c48de9fe0da126547447b7b9e01;hpb=033ef632ec57f6deb03c1668007628ce35484656 diff --git a/base-class.lisp b/base-class.lisp index 47085cc..e4becfe 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.5 2003/05/13 15:53:21 kevin Exp $ +;;;; $Id$ ;;;; -;;;; 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))) - - (multiple-value-call #'format s (obj-data-fmtstr view) - (funcall (obj-data-value-func view) obj))))) + (print-unreadable-object (obj s :type t :identity nil) + (funcall (obj-data-printer (get-view-id obj :compact-text)) + obj s nil)))