From: John Wiegley Date: Fri, 1 Dec 2017 08:45:43 +0000 (-0800) Subject: Don't macroexpand bind-keys, leave that to the evaluator X-Git-Tag: emacs-29.0.90~1306^2~15^2~205 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2c618e17c6f6ef024a4ea30fec2a5fbf12d2b2f1;p=emacs.git Don't macroexpand bind-keys, leave that to the evaluator --- 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*))