Fix keyword type check in doom-keyword-name
This commit is contained in:
parent
f25ec72253
commit
b8837ac022
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ list is returned as-is."
|
||||||
(defun doom-keyword-name (keyword)
|
(defun doom-keyword-name (keyword)
|
||||||
"Returns the string name of KEYWORD (`keywordp') minus the leading colon."
|
"Returns the string name of KEYWORD (`keywordp') minus the leading colon."
|
||||||
(declare (pure t) (side-effect-free t))
|
(declare (pure t) (side-effect-free t))
|
||||||
(cl-check-type :test keyword)
|
(cl-check-type keyword keyword)
|
||||||
(substring (symbol-name keyword) 1))
|
(substring (symbol-name keyword) 1))
|
||||||
|
|
||||||
(defmacro doom-log (format-string &rest args)
|
(defmacro doom-log (format-string &rest args)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue