From 2c618e17c6f6ef024a4ea30fec2a5fbf12d2b2f1 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 1 Dec 2017 00:45:43 -0800 Subject: [PATCH] Don't macroexpand bind-keys, leave that to the evaluator --- lisp/use-package/use-package.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 044d79d4a95..c6c83f7e3d2 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -1097,9 +1097,8 @@ representing symbols (that may need to be autloaded)." (use-package-plist-maybe-put rest :defer t)) (use-package-plist-append state :commands commands)) `((ignore - ,(macroexpand - `(,(if bind-macro bind-macro 'bind-keys) - :package ,name ,@nargs))))))) + (,(if bind-macro bind-macro 'bind-keys) + :package ,name ,@nargs)))))) (defun use-package-handler/:bind* (name keyword arg rest state) (use-package-handler/:bind name keyword arg rest state 'bind-keys*)) -- 2.39.2