Skip to content

Commit

Permalink
PROG1 makes no sense otherwhise, and this makes defmodel conform to d…
Browse files Browse the repository at this point in the history
…efclass return value.
  • Loading branch information
Ramarren committed Dec 30, 2008
1 parent 69fb8ce commit 78f9d20
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions defmodel.lisp
Expand Up @@ -119,14 +119,14 @@ the defmodel form for ~a" ',class ',class))))
(md-slot-value self ',slotname)))
,(when unchanged-if
`(def-c-unchanged-test (,class ,slotname) ,unchanged-if)))))))
slotspecs))
(loop for slotspec in ',slotspecs
do (destructuring-bind
(slotname &rest slotargs &key (cell t) owning &allow-other-keys)
slotspec
(declare (ignorable slotargs))
(when (and cell owning)
(setf (md-slot-owning-direct? ',class slotname) owning))))))
slotspecs)
(loop for slotspec in ',slotspecs
do (destructuring-bind
(slotname &rest slotargs &key (cell t) owning &allow-other-keys)
slotspec
(declare (ignorable slotargs))
(when (and cell owning)
(setf (md-slot-owning-direct? ',class slotname) owning)))))))

(defun defmd-canonicalize-slot (slotname
&key
Expand Down

0 comments on commit 78f9d20

Please sign in to comment.