Minor refactors

+ cl-flet* -> cl-flet
+ refactor display-line-numbers-mode
This commit is contained in:
Henrik Lissner 2018-09-19 19:43:05 -04:00
parent 9970fdac2c
commit 1e710e94e3
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ Otherwise, it maps colors to a term-color-* face."
(defmacro format! (message &rest args)
"An alternative to `format' that understands (color ...) and converts them
into faces or ANSI codes depending on the type of sesssion we're in."
`(cl-flet*
`(cl-flet
(,@(mapcar (lambda (rule) `(,(car rule)
(lambda (message)
(doom-ansi-apply ',(car rule) message))))