Merge pull request from justbur/autoload-keymap

Correct prefix keys after use-package-autoload-keymap
GitHub-reference: https://github.com/jwiegley/use-package/issues/686
This commit is contained in:
John Wiegley
2018-07-15 11:01:24 -07:00
committed by GitHub

View File

@@ -61,7 +61,8 @@ deferred until the prefix key sequence is pressed."
(bind-key* key keymap)
(bind-key key keymap))
(setq unread-command-events
(listify-key-sequence kv)))
(mapcar (lambda (ev) (cons t ev))
(listify-key-sequence kv))))
(use-package-error
(format "package.el %s failed to define keymap %s"
package keymap-symbol)))))