]> git.eshelyaron.com Git - emacs.git/commit
Delay decision whether to use eval-after-load until run-time
authorJonas Bernoulli <jonas@bernoul.li>
Sun, 18 Dec 2016 14:47:36 +0000 (15:47 +0100)
committerJonas Bernoulli <jonas@bernoul.li>
Sun, 18 Dec 2016 14:47:36 +0000 (15:47 +0100)
commit75e0cd93c53beff2abe81b8e2f0bd25d9098f078
tree7dd4b435e731956275a23e791faa5b4d543d4c42
parent42b7a774cf32827c9604e76d9b19e9016ee209c6
Delay decision whether to use eval-after-load until run-time

Just because a keymap variable is bound at macro-expansion-time
doesn't mean that it must be bound at run-time too.

Change `bind-keys-form', which is used by `bind-keys' and other
macros, to return a form which delays the decision on whether to
wrap the binding forms with `eval-after-load' until run-time.

Fixes https://github.com/jwiegley/use-package/issues/378.
lisp/use-package/bind-key.el