1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-25 01:10:47 -08:00
Commit graph

15 commits

Author SHA1 Message Date
Justin Burkett
c011b26819 Add tests for keymap-based-bindings 2020-10-19 11:15:35 -04:00
Rudi Grinberg
e48e190a75
Fix #257 (#258)
* Add test for #257

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>

* Fix #257

Explicitly distinguish between replacing with `nil` and not replacing at
all.

I'm also simplifying the code by making all the branches more explicit.
This is a little longer, but makes all the clauses obvious.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
2020-08-17 19:58:31 -04:00
Justin Burkett
7b068f3e95 Fix case sorting in alpha sort functions 2020-02-12 09:23:18 -05:00
Justin Burkett
90d10a8fb3 Fix sorting of keys and add test
Fixes #233
2020-02-07 22:29:40 -05:00
D.K
ba03e7e5bc Add translation keymap support (#210) 2019-05-28 21:14:09 -04:00
Justin Burkett
506c34829c Add which-key-show-full-keymap
Command to show all bindings in a keymap recursively.

Add test for new which-key--get-keymap-bindings functionality.
2018-02-23 13:46:08 -05:00
Justin Burkett
527113d06e Assign copyright to FSF for ELPA 2017-08-07 16:27:12 -04:00
Justin Burkett
0d56e4369b Fix handling of key ranges ("a .. d")
When the last key in the key sequence is a range, extract the whole range
instead of just the final key.

Fixes #161
2017-02-09 10:29:30 -05:00
Justin Burkett
3cd9457f96 Fix #156 by allowing multiple replacements
Add which-key-allow-multiple-replacements which can be set to allow multiple
replacements from which-key-replacement-alist to apply to a key binding.

Switch from using assoc-default to find replacements to
which-key--get-replacements.

Adjusts tests and add a new one for multiple replacements.
2016-12-15 09:53:20 -05:00
Justin Burkett
8f4a21855f Support functions in -add-key-based-replacements 2016-11-30 19:01:07 -05:00
Justin Burkett
b57b3cb342 Add test for #155 2016-11-30 08:40:19 -05:00
Justin Burkett
a2b3383f49 Quote regexp in -add-key-based-replacements
Should fix #154
2016-11-29 21:29:32 -05:00
Justin Burkett
b5a9d7d1ce Update test 2016-11-22 07:01:09 -05:00
Justin Burkett
5b3614643e Fix test for recent prefix-name change 2016-10-05 16:32:29 -04:00
justbur
b986161025 Add tests 2016-04-05 10:04:54 -04:00