From: Bjarte Johansen Date: Fri, 26 Feb 2016 15:19:24 +0000 (+0000) Subject: Quote variable in `bind-keys*' X-Git-Tag: emacs-29.0.90~1306^2~15^2~302^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b0b5cfbfb26bbc18d36d7ea8cd90bd665f521d9b;p=emacs.git 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 --- 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