From ba6c7f20563cf0f433d0107b8e4eafe6984e74b4 Mon Sep 17 00:00:00 2001
From: wlott <wlott>
Date: Wed, 11 Nov 1992 07:40:44 +0000
Subject: [PATCH] Fixed pprint-lambda-list to print a space before the dot when
 the tail of the lambda list is shared.  In other words, print (foo . #1=(bar
 baz)) instead of (foo. #1=(bar baz)).

---
 code/pprint.lisp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/code/pprint.lisp b/code/pprint.lisp
index 69d98e149..4e94d1c7d 100644
--- a/code/pprint.lisp
+++ b/code/pprint.lisp
@@ -7,7 +7,7 @@
 ;;; Scott Fahlman or slisp-group@cs.cmu.edu.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pprint.lisp,v 1.11 1992/11/06 04:10:53 wlott Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/pprint.lisp,v 1.12 1992/11/11 07:40:44 wlott Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -1141,9 +1141,10 @@
 	  (first t))
       (loop
 	(pprint-exit-if-list-exhausted)
+	(unless first
+	  (write-char #\space stream))
 	(let ((arg (pprint-pop)))
 	  (unless first
-	    (write-char #\space stream)
 	    (case arg
 	      (&optional
 	       (setf state :optional)
-- 
GitLab