From b0b5cfbfb26bbc18d36d7ea8cd90bd665f521d9b Mon Sep 17 00:00:00 2001 From: Bjarte Johansen Date: Fri, 26 Feb 2016 15:19:24 +0000 Subject: [PATCH] Quote variable in `bind-keys*' * bind-key.el (bind-keys*): `override-global-map' needs to be quoted so the symbol is passed to `bind-keys-form' and not the value. GitHub-reference: fixes https://github.com/jwiegley/use-package/issues/323 --- lisp/use-package/bind-key.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/use-package/bind-key.el b/lisp/use-package/bind-key.el index 023ab794316..2333433e509 100644 --- a/lisp/use-package/bind-key.el +++ b/lisp/use-package/bind-key.el @@ -293,7 +293,7 @@ function symbol (unquoted)." ;;;###autoload (defmacro bind-keys* (&rest args) (macroexp-progn - (bind-keys-form (cons :map (cons override-global-map args))))) + (bind-keys-form `(:map override-global-map ,@args)))) (defun get-binding-description (elem) (cond -- 2.39.2