X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fearly-setf.lisp;h=8a21d7ae2097ba9569a225f263e931c2f27b04f0;hb=5277a0cbf1a72243cad6808883a4847acefc8e6b;hp=86968cfe812cb552eb98ece83163b8062a031be4;hpb=db55ad022ec7cc7a2f251918579fdeba7f17dbe0;p=sbcl.git diff --git a/src/code/early-setf.lisp b/src/code/early-setf.lisp index 86968cf..8a21d7a 100644 --- a/src/code/early-setf.lisp +++ b/src/code/early-setf.lisp @@ -49,7 +49,7 @@ (let ((name (car form))) (dolist (x (sb!c::lexenv-functions environment)) (when (and (eq (car x) name) - (not (sb!c::defined-function-p (cdr x)))) + (not (sb!c::defined-fun-p (cdr x)))) (return t))))) (expand-or-get-setf-inverse form environment)) ((setq temp (info :setf :inverse (car form))) @@ -339,11 +339,6 @@ GET-SETF-EXPANSION directly." ((not (fboundp `(setf ,name))) ;; All is well, we don't need any warnings. (values)) - ((info :function :accessor-for name) - (warn "defining SETF macro for DEFSTRUCT slot ~ - accessor; redefining as a normal function: ~S" - name) - (proclaim-as-function-name name)) ((not (eq (symbol-package name) (symbol-package 'aref))) (style-warn "defining setf macro for ~S when ~S is fbound" name `(setf ,name))))