[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: List all bindings in a keymap
From: |
Dmitry Gutov |
Subject: |
Re: List all bindings in a keymap |
Date: |
Tue, 25 Sep 2012 04:09:03 +0400 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
"Pascal J. Bourguignon" <pjb@informatimago.com> writes:
> Dmitry Gutov <dgutov@yandex.ru> writes:
>> How do I do that, short of traversing the keymap structure manually?
>
> Check
>
https://gitorious.org/com-informatimago/emacs/blobs/blame/256fae6797241e707b3bc79cc7812a82074948a1/pjb-emacs.el#line1750
Thanks, but I got a simpler solution with `map-keymap' working, see:
https://github.com/dgutov/diff-hl/blob/a01d2917a07d91269c13901bb65fd7ef54766fd4/diff-hl.el#L327