From 317fa056caf7f39c7de4a3b39e79d86f7abfc3ed Mon Sep 17 00:00:00 2001
From: pw <pw>
Date: Thu, 26 Mar 1998 21:38:45 +0000
Subject: [PATCH] Correct spelling of UNLESS in new gensym (was WHEN).

---
 code/symbol.lisp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/code/symbol.lisp b/code/symbol.lisp
index a62320ade..840204bb0 100644
--- a/code/symbol.lisp
+++ b/code/symbol.lisp
@@ -5,7 +5,7 @@
 ;;; Carnegie Mellon University, and has been placed in the public domain.
 ;;;
 (ext:file-comment
-  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/symbol.lisp,v 1.24 1998/03/26 19:06:27 pw Exp $")
+  "$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/symbol.lisp,v 1.25 1998/03/26 21:38:45 pw Exp $")
 ;;;
 ;;; **********************************************************************
 ;;;
@@ -219,7 +219,7 @@
    The default value of the number is the current value of *gensym-counter*
    which is incremented each time it is used."
   (let ((old *gensym-counter*))
-    (when (numberp thing)
+    (unless (numberp thing)
       (let ((new (etypecase old
 		   (index (1+ old))
 		   (unsigned-byte (1+ old)))))
-- 
GitLab