summaryrefslogtreecommitdiff
path: root/lisp/use-package
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/use-package')
-rw-r--r--lisp/use-package/use-package-bind-key.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/use-package/use-package-bind-key.el b/lisp/use-package/use-package-bind-key.el
index 10b5b483d05..e476b060ad6 100644
--- a/lisp/use-package/use-package-bind-key.el
+++ b/lisp/use-package/use-package-bind-key.el
@@ -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)))))