X-Git-Url: http://git.kpe.io/?p=hyperobject.git;a=blobdiff_plain;f=base-class.lisp;h=a7acb3bb04e75a480c4296305d5096a0678cae38;hp=4b65c8d441be56ec697de28d0e686b4ded29bf53;hb=HEAD;hpb=0bb5498ce669d7f3c6d619bea10056b24db30b0a diff --git a/base-class.lisp b/base-class.lisp index 4b65c8d..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.9 2003/05/22 20:40:03 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,8 +20,8 @@ (:metaclass hyperobject-class) (:description "Basic hyperobject class")) -(defmethod print-object ((obj hyperobject) (s stream)) +(defmethod print-object ((obj hyperobject) s) (print-unreadable-object (obj s :type t :identity nil) - (funcall (obj-data-printer (get-category-view obj :compact-text)) - obj s nil))) + (funcall (obj-data-printer (get-view-id obj :compact-text)) + obj s nil)))