Fix missing `without-special-symbol-access' in `funcall-with-attribute-context' master
authorClinton Ebadi <clinton@unknownlamer.org>
Wed, 18 May 2011 00:02:09 +0000 (20:02 -0400)
committerClinton Ebadi <clinton@unknownlamer.org>
Wed, 18 May 2011 00:02:09 +0000 (20:02 -0400)
* Saving before comitting is generally a good idea

src/display.lisp

index e502b85..8fecac9 100644 (file)
    (lambda ()
      (with-special-symbol-access
        (contextl::funcall-with-special-initargs
-       (mappend (lambda (desc)
-                  (when (consp desc)
-                    (let ((description (find-description (car desc))))
-                      (loop 
-                         :for (key val) :on (cdr desc) :by #'cddr
-                         :collect (list (find key (description-attributes description) 
-                                              :key #'attribute-keyword)
-                                 :value val)))))
-                (attribute-active-descriptions attribute))
+       (without-special-symbol-access
+         (mappend (lambda (desc)
+                    (when (consp desc)
+                      (let ((description (find-description (car desc))))
+                        (loop 
+                           :for (key val) :on (cdr desc) :by #'cddr
+                           :collect (list (find key (description-attributes description) 
+                                                :key #'attribute-keyword)
+                                          :value val)))))
+                  (attribute-active-descriptions attribute)))
        (lambda ()
          (without-special-symbol-access
            (funcall thunk))))))))