[movitz-cvs] CVS update: movitz/losp/muerte/print.lisp

Update of /project/movitz/cvsroot/movitz/losp/muerte In directory common-lisp.net:/tmp/cvs-serv23296 Modified Files: print.lisp Log Message: Changed the output of printer errors while *print-safely*. Date: Mon Jul 19 02:57:44 2004 Author: ffjeld Index: movitz/losp/muerte/print.lisp diff -u movitz/losp/muerte/print.lisp:1.11 movitz/losp/muerte/print.lisp:1.12 --- movitz/losp/muerte/print.lisp:1.11 Thu Jul 8 08:23:53 2004 +++ movitz/losp/muerte/print.lisp Mon Jul 19 02:57:44 2004 @@ -10,7 +10,7 @@ ;;;; Author: Frode Vatvedt Fjeld <frodef@acm.org> ;;;; Created at: Mon Sep 3 11:48:19 2001 ;;;; -;;;; $Id: print.lisp,v 1.11 2004/07/08 15:23:53 ffjeld Exp $ +;;;; $Id: print.lisp,v 1.12 2004/07/19 09:57:44 ffjeld Exp $ ;;;; ;;;;------------------------------------------------------------------ @@ -170,7 +170,8 @@ (internal-write object) (handler-case (internal-write object) (serious-condition (c) - (format t "#<printer error for ~Z: [~A]>" object c))))))) + (print-unreadable-object (c *standard-output* :type t :identity t) + (format t " while printing ~Z" object)))))))) (defun internal-write (object) (let ((stream *standard-output*))
participants (1)
-
Frode Vatvedt Fjeld