projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.8.18.3:
[sbcl.git]
/
src
/
code
/
inspect.lisp
diff --git
a/src/code/inspect.lisp
b/src/code/inspect.lisp
index
5625d64
..
43faa94
100644
(file)
--- a/
src/code/inspect.lisp
+++ b/
src/code/inspect.lisp
@@
-155,7
+155,7
@@
evaluated expressions.
(defgeneric inspected-parts (object))
(defmethod inspected-parts ((object symbol))
(defgeneric inspected-parts (object))
(defmethod inspected-parts ((object symbol))
- (values (format nil "The object is a SYMBOL.~%" object)
+ (values (format nil "The object is a SYMBOL.~%")
t
(list (cons "Name" (symbol-name object))
(cons "Package" (symbol-package object))
t
(list (cons "Name" (symbol-name object))
(cons "Package" (symbol-package object))
@@
-202,7
+202,13
@@
evaluated expressions.
(values (format nil "The object is a FUNCALLABLE-INSTANCE of type ~S.~%"
(type-of object))
t
(values (format nil "The object is a FUNCALLABLE-INSTANCE of type ~S.~%"
(type-of object))
t
- (inspected-structure-elements object)))
+ (inspected-standard-object-elements object)))
+
+(defmethod inspected-parts ((object condition))
+ (values (format nil "The object is a CONDITION of type ~S.~%"
+ (type-of object))
+ t
+ (inspected-standard-object-elements object)))
(defmethod inspected-parts ((object function))
(let* ((type (sb-kernel:widetag-of object))
(defmethod inspected-parts ((object function))
(let* ((type (sb-kernel:widetag-of object))