Subject: Re: bug#56873: Make `defvar-keymap' warn on conflicting and redundant bindings

From: Stefan Kangas <[email-masked]>
Date: Tue, 2 Aug 2022 10:09:43 +0000

Robert Pluim <[email-masked]> writes:

>     Stefan>     (defvar-keymap foo
>     Stefan>       "a" #'next-line
>     Stefan>       "a" #'previous-line)
>
> Is that a common occurence?

I don't know.  I've only seen such a mistake once, but flagging it might
help us find more.

Your patch looks fine to me, but I agree with Lars that it should be an
error instead of a warning.  (And putting it in `define-keymap' is
indeed better.)