From b8837ac0222e2f3c439ffde9ac04c8896f73fabc Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Wed, 24 Jul 2019 15:26:43 +0200 Subject: [PATCH] Fix keyword type check in doom-keyword-name --- core/core-lib.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/core-lib.el b/core/core-lib.el index 692cd18b2..0fe864f2f 100644 --- a/core/core-lib.el +++ b/core/core-lib.el @@ -136,7 +136,7 @@ list is returned as-is." (defun doom-keyword-name (keyword) "Returns the string name of KEYWORD (`keywordp') minus the leading colon." (declare (pure t) (side-effect-free t)) - (cl-check-type :test keyword) + (cl-check-type keyword keyword) (substring (symbol-name keyword) 1)) (defmacro doom-log (format-string &rest args)