]> git.eshelyaron.com Git - emacs.git/commit
Correct prefix keys after use-package-autoload-keymap
authorJustin Burkett <justin@burkett.cc>
Mon, 4 Jun 2018 01:38:20 +0000 (21:38 -0400)
committerJustin Burkett <justin@burkett.cc>
Mon, 4 Jun 2018 01:38:20 +0000 (21:38 -0400)
commitc980371f6f1d96f5955cfbc4c355338b6d1bdb90
tree9db53b7cf660c65e3dab9bb87c6428f529952b41
parent36f9a9b9b433a6788965caa3982372ee2582c57b
Correct prefix keys after use-package-autoload-keymap

By adding events of the form (cons t event) to unread-command-events, Emacs
correctly updates this-command-keys for the subsequent use of the prefix.

Before this change, packages like my which-key were not getting the correct
prefix after use-package-autoload-keymap loaded the relevant package.

See https://github.com/justbur/emacs-which-key/issues/192
lisp/use-package/use-package-bind-key.el