summaryrefslogtreecommitdiff
path: root/lisp/use-package/use-package-bind-key.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2022-08-07 08:30:25 -0700
committerGitHub <noreply@github.com>2022-08-07 08:30:25 -0700
commitde0c8c36c7c4bb68b2c881b0449dcee050b19e63 (patch)
tree4bc14e50f4119ddb674b132329458e20d8d20cfd /lisp/use-package/use-package-bind-key.el
parent015c921a2e0fdf5f17f095235dd96d8080b0e6eb (diff)
parent1143f14d650c7201d7ddbcb7012dc2c9bf3b1824 (diff)
downloademacs-de0c8c36c7c4bb68b2c881b0449dcee050b19e63.tar.gz
emacs-de0c8c36c7c4bb68b2c881b0449dcee050b19e63.tar.bz2
emacs-de0c8c36c7c4bb68b2c881b0449dcee050b19e63.zip
Merge pull request from Hugo-Heagren/bind-keys-repeat-map
GitHub-reference: https://github.com/jwiegley/use-package/issues/974
Diffstat (limited to 'lisp/use-package/use-package-bind-key.el')
-rw-r--r--lisp/use-package/use-package-bind-key.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/use-package/use-package-bind-key.el b/lisp/use-package/use-package-bind-key.el
index e476b060ad6..9642f311750 100644
--- a/lisp/use-package/use-package-bind-key.el
+++ b/lisp/use-package/use-package-bind-key.el
@@ -86,13 +86,20 @@ deferred until the prefix key sequence is pressed."
;; :prefix-docstring STRING
;; :prefix-map SYMBOL
;; :prefix STRING
+ ;; :repeat-docstring STRING
+ ;; :repeat-map SYMBOL
;; :filter SEXP
;; :menu-name STRING
;; :package SYMBOL
+ ;; :continue and :exit are used within :repeat-map
((or (and (eq x :map) (symbolp (cadr arg)))
(and (eq x :prefix) (stringp (cadr arg)))
(and (eq x :prefix-map) (symbolp (cadr arg)))
(and (eq x :prefix-docstring) (stringp (cadr arg)))
+ (and (eq x :repeat-map) (symbolp (cadr arg)))
+ (eq x :continue)
+ (eq x :exit)
+ (and (eq x :repeat-docstring) (stringp (cadr arg)))
(eq x :filter)
(and (eq x :menu-name) (stringp (cadr arg)))
(and (eq x :package) (symbolp (cadr arg))))