Wrt your comment: Non-interactively, the argument to describe-keymap
can be a keymap object instead of the name of a keymap variable. C-h f describe-keymap
:
describe-keymap is an interactive Lisp function in `help-fns+.el'.
It is bound to C-h M-k, f1 M-k, help M-k, menu-bar help-menu describe
describe-keymap.
(describe-keymap KEYMAP &optional SEARCH-SYMBOLS-P)
For more information check the manuals.
Describe key bindings in KEYMAP.
Interactively, prompt for a variable that has a keymap value.
Completion is available for the variable name.
Non-interactively:
* KEYMAP can be such a keymap variable or a keymap.
* Non-nil optional arg SEARCH-SYMBOLS-P means that if KEYMAP is not a
symbol then search all variables for one whose value is KEYMAP.