Skip to content

Commit

Permalink
wrap color export in an eval-when :compile-toplevel :load-toplevel :e…
Browse files Browse the repository at this point in the history
…xecute. Thanks to Utz-Uwe Haus for the patch.
  • Loading branch information
slyrus committed Mar 25, 2011
1 parent 23b84cf commit cee1e6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion colors.lisp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@
(let ((sym (read-from-string color))) (let ((sym (read-from-string color)))
`(progn `(progn
(defparameter ,sym (list ,r ,g ,b)) (defparameter ,sym (list ,r ,g ,b))
(export ',sym)))))))))) (eval-when (:compile-toplevel :load-toplevel :execute)
(export ',sym)))))))))))
(frob-colors)) (frob-colors))

0 comments on commit cee1e6b

Please sign in to comment.