From f85376aef93c0934ede0c8e8b716913e3df619b8 Mon Sep 17 00:00:00 2001
From: rtoy <rtoy>
Date: Thu, 9 Sep 2004 17:13:43 +0000
Subject: [PATCH] Signal a print-not-readable condition when a pathname can't
 be printed readably, instead of a generic error condition.

---
 code/pathname.lisp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/code/pathname.lisp b/code/pathname.lisp
index e45d58678..e83c56315 100644
--- a/code/pathname.lisp
+++ b/code/pathname.lisp
@@ -4,7 +4,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pathname.lisp,v 1.68 2004/09/07 15:13:51 rtoy Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pathname.lisp,v 1.69 2004/09/09 17:13:43 rtoy Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -120,7 +120,7 @@
 	       (format stream "#P~S" namestring)
 	       (format stream "~A" namestring)))
 	  (*print-readably*
-	   (error "~S Cannot be printed readably." pathname))
+	   (error 'print-not-readable :object pathname))
 	  (t
 	   (funcall (formatter "#<Unprintable pathname, Host=~S, Device=~S, ~
 				Directory=~S, Name=~S, Type=~S, Version=~S>")
@@ -185,7 +185,7 @@
 	       (format stream "#P~S" namestring)
 	       (format stream "~A" namestring)))
 	  (*print-readably*
-	   (error "~S Cannot be printed readably." pathname))
+	   (error 'print-not-readable :object pathname))
 	  (t
 	   (funcall (formatter "#<Unprintable pathname, Host=~S,  ~
 				Directory=~S, File=~S, Name=~S, Version=~S>")
-- 
GitLab