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

From: Stefan Kangas <[email-masked]>
Date: Mon, 1 Aug 2022 16:47:10 +0000

Severity: wishlist

It would be useful if `defvar-keymap' could warn on conflicting
bindings, such as in:

    (defvar-keymap foo
      "a" #'next-line
      "a" #'previous-line)

It would also be useful to warn about redundant bindings, such as in:

    (defvar-keymap foo
      "a" #'next-line
      "a" #'next-line)