Skip to content
Snippets Groups Projects
Commit 317fa056 authored by pw's avatar pw
Browse files

Correct spelling of UNLESS in new gensym (was WHEN).

parent 747cf0ef
No related branches found
No related tags found
No related merge requests found
......@@ -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)))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment