-
-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
It would be much easier and less error-prone if we use let* instead of let. let* allows to use the variable defined before the current line. For example:
(let* ((class '((class color) (min-colors 89)))
;; omit lines
(nord12 (if (nord-display-truecolor-or-graphic-p) "#D08770" "brightyellow"))
;; omit lines
;; (nord-annotation (if (nord-display-truecolor-or-graphic-p) "#D08770 "brightyellow")) <-- original
(nord-annotation (if (nord-display-truecolor-or-graphic-p) nord12 "brightyellow"))