mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
get-binding-description: return keymap symbol
instead of "#<keymap>".
This commit is contained in:
parent
1b6605652c
commit
f5f4102ca1
@ -234,12 +234,9 @@ function symbol (unquoted)."
|
||||
"#<keymap>")
|
||||
(t
|
||||
elem)))
|
||||
((keymapp elem)
|
||||
(if (and bind-key-describe-special-forms
|
||||
(symbolp elem)
|
||||
(get elem 'variable-documentation))
|
||||
(format "%s" (get elem 'variable-documentation))
|
||||
"#<keymap>"))
|
||||
;; must be a symbol, non-symbol keymap case covered above
|
||||
((and bind-key-describe-special-forms (keymapp elem))
|
||||
(get elem 'variable-documentation))
|
||||
((symbolp elem)
|
||||
elem)
|
||||
(t
|
||||
|
Loading…
Reference in New Issue
Block a user