X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=base-class.lisp;h=a7acb3bb04e75a480c4296305d5096a0678cae38;hb=7488e60672318e28e08f87c64fe3868690dbfd7b;hp=4251cf1e88bdc2f087da3601b357d304ad196307;hpb=04f829aab1e5caaefe60391f756e7a5db2d1282b;p=hyperobject.git diff --git a/base-class.lisp b/base-class.lisp index 4251cf1..a7acb3b 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.7 2003/05/14 05:29:48 kevin Exp $ +;;;; $Id$ ;;;; ;;;; 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 () @@ -22,7 +20,8 @@ (:metaclass hyperobject-class) (:description "Basic hyperobject class")) -(defmethod print-object ((obj hyperobject) (s stream)) - (print-unreadable-object (obj s :type t :identity t) - (funcall (obj-data-func (get-category-view obj :compact-text)) obj s nil))) +(defmethod print-object ((obj hyperobject) s) + (print-unreadable-object (obj s :type t :identity nil) + (funcall (obj-data-printer (get-view-id obj :compact-text)) + obj s nil)))