mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-05 03:39:38 +00:00
bind-keys-form: error for repeat sub-keywords without :repeat-map
Error descriptively if :continue or :exit is specified without :repeat-map.
This commit is contained in:
parent
c4bd2aa3b8
commit
1143f14d65
1 changed files with 4 additions and 0 deletions
|
@ -326,6 +326,10 @@ function symbol (unquoted)."
|
|||
(and prefix (not prefix-map)))
|
||||
(error "Both :prefix-map and :prefix must be supplied"))
|
||||
|
||||
(when repeat-type
|
||||
(unless repeat-map
|
||||
(error ":continue and :exit require specifying :repeat-map")))
|
||||
|
||||
(when (and menu-name (not prefix))
|
||||
(error "If :menu-name is supplied, :prefix must be too"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue