1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-24 06:20:43 -08:00

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
This commit is contained in:
Bjarte Johansen 2016-02-26 15:19:24 +00:00
parent 6a90a9f16d
commit b0b5cfbfb2

View file

@ -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