;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Apr 2000
;;;;
-;;;; $Id: views.lisp,v 1.51 2003/06/12 11:10:38 kevin Exp $
+;;;; $Id: views.lisp,v 1.52 2003/06/12 12:02:31 kevin Exp $
;;;;
;;;; This file is Copyright (c) 2000-2003 by Kevin M. Rosenberg
;;;; *************************************************************************
(write-simple (car var) s)
(write-char #\= s)
(write-simple (cdr var) s))
- (write-char #\" s)))
- ((or symbol function)
- (funcall link-page fieldfunc fieldvalue refvars s)))))
+ (write-char #\" s))
+ (null
+ nil)
+ ((or symbol function)
+ (funcall link-page fieldfunc fieldvalue refvars s))))))
(defun make-link-end (obj view fieldname)
(declare (ignore obj fieldname))
(defun view-hyperobject (objs view category strm &optional (indent 0) filter
subobjects refvars)
"Display a single or list of hyperobject-class instances and their subobjects"
- (declare (fixnum indent))
(let-when (objlist (mklist objs))
(let ((nobjs (length objlist))
(*print-pretty* nil)
(when (and subobjects (hyperobject-class-subobjects obj))
(dolist (subobj (hyperobject-class-subobjects obj))
(aif (slot-value obj (name-slot subobj))
- (view-hyperobject it (get-category-view (car (mklist it)) category)
+ (view-hyperobject it
+ (get-category-view (car (mklist it))
+ category)
category strm (1+ indent) filter
subobjects refvars))))
(fmt-obj-end obj view strm indent)))
(defun view (objs &key (stream *standard-output*) category view
filter subobjects refvars file-wrapper)
- "EXPORTED Function: prints hyperobject-class objects. Simplies call to view-hyperobject"
+ "EXPORTED Function: prints hyperobject-class objects. Calls view-hyperobject"
(let-when (objlist (mklist objs))
(when category
(setq view (get-category-view (car objlist) category)))