]> git.eshelyaron.com Git - emacs.git/commitdiff
Quote variable in `bind-keys*'
authorBjarte Johansen <bjarte.johansen@gmail.com>
Fri, 26 Feb 2016 15:19:24 +0000 (15:19 +0000)
committerBjarte Johansen <bjarte.johansen@gmail.com>
Fri, 26 Feb 2016 15:47:16 +0000 (15:47 +0000)
* 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

index 023ab7943164e11478ac24b5e2cb49004767cb15..2333433e509fbe88d65f0a26fb9fc191214e4150 100644 (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