0.7.4.22:
[sbcl.git] / src / code / symbol.lisp
index e584925..dadd1a0 100644 (file)
@@ -48,7 +48,7 @@
   symbol)
 
 ;;; Return the built-in hash value for SYMBOL.
-#!+(or x86 mips) ;; only backends for which a symbol-hash vop exists
+#!+(or x86 mips) ;; only backends for which a SYMBOL-HASH vop exists
 (defun symbol-hash (symbol)
   (symbol-hash symbol))
 
 (defun symbol-function (symbol)
   #!+sb-doc
   "Return SYMBOL's current function definition. Settable with SETF."
-  (raw-definition symbol))
+  (%coerce-name-to-fun symbol))
 
-(defun fset (symbol new-value)
+(defun (setf symbol-function) (new-value symbol)
   (declare (type symbol symbol) (type function new-value))
-  (setf (raw-definition symbol) new-value))
+  (setf (%coerce-name-to-fun symbol) new-value))
 
 (defun symbol-plist (symbol)
   #!+sb-doc