>> The reason why I'm asking this is to know how the corresponding >> function/macro for repeat-mode should be named in master. >> And it seems `define-repeat-map' would be the right name. > > Are you sure you need a `define-repeat-map'? Just adding a :repeat > keyword to `defvar-keymap' would be enough. Thanks for the patch. It would be nice to add also :repeat-enter and :repeat-exit. For example: :repeat-map t :repeat-enter '(enter-command ...) :repeat-exit '(exit-command ...) Or maybe a shorter variant would be preferable? :repeat '(:enter '(enter-command ...) :exit '(exit-command ...)) Anyway this supports the first variant: