X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Fcode%2Fsymbol.lisp;h=f4a7888042bf53641be6d75737a7e0f23d537444;hb=ba871531b6b394da295c9a4527346e1e6327ccca;hp=39f89a781ed258c9d8c857297a887a187112e6f4;hpb=92c8db80e039f60623e53a0b9355cf0a9ec49f3d;p=sbcl.git diff --git a/src/code/symbol.lisp b/src/code/symbol.lisp index 39f89a7..f4a7888 100644 --- a/src/code/symbol.lisp +++ b/src/code/symbol.lisp @@ -88,7 +88,10 @@ (defun make-symbol (string) #!+sb-doc "Make and return a new symbol with the STRING as its print name." - (make-symbol string)) + (declare (type string string)) + (%make-symbol (if (simple-string-p string) + string + (subseq string 0)))) (defun get (symbol indicator &optional (default nil)) #!+sb-doc