r11328: fix printing of unreadable objects

This commit is contained in:
Kevin M. Rosenberg
2006-12-02 15:43:07 +00:00
parent 912aa71fe6
commit d3d27bf766
2 changed files with 8 additions and 2 deletions

6
debian/changelog vendored
View File

@ -1,3 +1,9 @@
cl-puri (1.5.1-1) unstable; urgency=low
* New upstream
-- Kevin M. Rosenberg <kmr@debian.org> Sat, 2 Dec 2006 08:42:15 -0700
cl-puri (1.5-1) unstable; urgency=low
* Incorporate updates from latest Franz release

View File

@ -926,12 +926,12 @@ URI ~s contains illegal character ~s at position ~d."
(defmethod print-object ((uri uri) stream)
(if* *print-escape*
then (format stream "#<~a ~a>" 'uri (render-uri uri nil))
then (print-unreadable-object (uri stream :type t) (render-uri uri stream))
else (render-uri uri stream)))
(defmethod print-object ((urn urn) stream)
(if* *print-escape*
then (format stream "#<~a ~a>" 'uri (render-urn urn nil))
then (print-unreadable-object (urn stream :type t) (render-urn urn stream))
else (render-urn urn stream)))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;