projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a90a9f
)
Quote variable in `bind-keys*'
author
Bjarte Johansen
<bjarte.johansen@gmail.com>
Fri, 26 Feb 2016 15:19:24 +0000
(15:19 +0000)
committer
Bjarte 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
patch
|
blob
|
history
diff --git
a/lisp/use-package/bind-key.el
b/lisp/use-package/bind-key.el
index 023ab7943164e11478ac24b5e2cb49004767cb15..2333433e509fbe88d65f0a26fb9fc191214e4150 100644
(file)
--- 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