Fix bug printing uninterned symbols
authorDavid Vázquez <davazp@gmail.com>
Thu, 29 Aug 2013 14:06:56 +0000 (16:06 +0200)
committerDavid Vázquez <davazp@gmail.com>
Thu, 29 Aug 2013 14:06:56 +0000 (16:06 +0200)
src/print.lisp

index 0f61573..ef0cb83 100644 (file)
                ((eq package (find-package "KEYWORD")))
                (t (write-char (escape-token (package-name package)) stream)))
              (write-char #\: stream)
-             (let ((symbtype (second (multiple-value-list (find-symbol name package)))))
+             (let ((symbtype (and package (second (multiple-value-list (find-symbol name package))))))
                (when (and package (eq symbtype :internal))
                  (write-char #\: stream)))
              (write-string (escape-token name) stream)))))