]> git.eshelyaron.com Git - emacs.git/commit
Don't show key ranges if shadowed by different commands
authorStefan Kangas <stefan@marxist.se>
Fri, 13 Nov 2020 14:28:29 +0000 (15:28 +0100)
committerStefan Kangas <stefan@marxist.se>
Sun, 22 Nov 2020 01:45:03 +0000 (02:45 +0100)
commita6490343366f2b2331a91dcb693effb3a9dd78f5
tree2688fc7ee8a9070e3c9b2826c1de34ce1a84e221
parent0a8cd0116204354e95fbb4ebde64c58123502aa2
Don't show key ranges if shadowed by different commands

* src/keymap.c (describe_vector): Make sure found consecutive keys
are either not shadowed or, if they are, that they are shadowed by
the same command.  (Bug#9293)
* test/src/keymap-tests.el
(help--describe-vector/bug-9293-one-shadowed-in-range): New test.
src/keymap.c
test/src/keymap-tests.el