bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56873: Make `defvar-keymap' warn on conflicting and redundant bindin


From: Stefan Kangas
Subject: bug#56873: Make `defvar-keymap' warn on conflicting and redundant bindings
Date: Tue, 2 Aug 2022 10:09:43 +0000

Robert Pluim <rpluim@gmail.com> 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.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]