Subject: bug#58799: Make winner key sequences repeatable in repeat-mode

From: Stefan Kangas <[email-masked]>
Date: Thu, 27 Oct 2022 03:58:38 -0700

Robert Pluim <[email-masked]> writes:

> Hmm, thatʼs an interesting one:
>
>     (key-valid-p "[right]") => nil
>     (key-valid-p "<right>") => t
>
> but
>
>     (kbd "<right>") => [right]
>     (keymap-set global-map (kbd "<right>") #ʼignore) => error

I don't think I see any contradiction, as `keymap-set' requires its
second argument to be `key-valid-p'.  So that last one should just be:

    (keymap-set global-map "<right>" #'ignore)