mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix keyword type check in doom-keyword-name
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user