Fix let function
This commit is contained in:
parent
a2e65b7767
commit
9949912e41
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ PILL: (optional) If true, the badge will have 'rounded-pill' style.
|
|||
|
||||
The newly defined macro, when called, will generate HTML for a Bootstrap
|
||||
badge of the specified type."
|
||||
(let* ((macro-name (intern (string-upcase (concatenate 'string "BADGE-" (if (null pill) "" "PILL-") color)))))
|
||||
(let ((macro-name (intern (string-upcase (concatenate 'string "BADGE-" (if (null pill) "" "PILL-") color)))))
|
||||
`(defmacro ,macro-name (&body body)
|
||||
`(badge (:color ,,color :pill ,,pill) ,@body))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue