Skip to content
This repository has been archived by the owner on Mar 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #5 from rpav/master
Browse files Browse the repository at this point in the history
Use DEFPARAMTER instead of DEFINE-CONSTANT. (Thanks, Ryan!)
  • Loading branch information
tpapp committed Jun 26, 2014
2 parents 1a30630 + aa3ad8e commit bc9b041
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colors.lisp
Expand Up @@ -156,6 +156,6 @@ combination is in the positive or negative direction on the color wheel."
the automatically generated color file."
(let ((constant-name (symbolicate #\+ name #\+)))
`(progn
(define-constant ,constant-name (rgb ,red ,green ,blue)
:test #'equalp :documentation ,(format nil "X11 color ~A." name))
(defparameter ,constant-name (rgb ,red ,green ,blue)
,(format nil "X11 color ~A." name))
(export ',constant-name))))

0 comments on commit bc9b041

Please sign in to comment.