X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fdefboot.lisp;h=8329bc7a78f9e8096296b6850347476e06cab6fb;hb=0d3d3a78055fa485985cda2df688f3cd7e9adb18;hp=a9cfbf765110b38021e6f7bb3a3ce102616573b2;hpb=e1cf2466998905e8e19e14cae6e478861ffd04ee;p=sbcl.git diff --git a/src/code/defboot.lisp b/src/code/defboot.lisp index a9cfbf7..8329bc7 100644 --- a/src/code/defboot.lisp +++ b/src/code/defboot.lisp @@ -212,7 +212,7 @@ ;; something sane, (1) doing so doesn't really fix the bug, and ;; (2) doing probably isn't even really safe. #+nil (setf (%fun-name def) name) - + (when doc (setf (fdocumentation name 'function) doc)) name) @@ -352,9 +352,8 @@ (defmacro-mundanely with-condition-restarts (condition-form restarts-form &body body) #!+sb-doc - "WITH-CONDITION-RESTARTS Condition-Form Restarts-Form Form* - Evaluates the Forms in a dynamic environment where the restarts in the list - Restarts-Form are associated with the condition returned by Condition-Form. + "Evaluates the BODY in a dynamic environment where the restarts in the list + RESTARTS-FORM are associated with the condition returned by CONDITION-FORM. This allows FIND-RESTART, etc., to recognize restarts that are not related to the error currently being debugged. See also RESTART-CASE." (let ((n-cond (gensym))) @@ -379,7 +378,7 @@ binding :test #'eq)) (warn "Unnamed restart does not have a ~ - report function: ~S" + report function: ~S" binding)) `(make-restart :name ',(car binding) :function ,(cadr binding)