- (let ((*description* description)
- (*display* display)
- (*object* object))
- (contextl::funcall-with-special-initargs
- (loop
- :for (key val) :on args :by #'cddr
- :collect (list (find key (description-attributes description)
- :key #'attribute-keyword)
- :value val))
- (lambda ()
- (contextl::funcall-with-special-initargs
- (let ((attribute (find-attribute description 'active-attributes)))
- (when attribute
- (loop for spec in (attribute-value object attribute)
- if (listp spec)
- collect (cons (or
- (find-attribute description (car spec))
- (error "No attribute matching ~A" (car spec)))
- (cdr spec)))))