Fix let function

This commit is contained in:
Marcus Kammer 2023-08-10 18:20:29 +02:00
parent a2e65b7767
commit 9949912e41

View file

@ -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))))