mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
get-binding-description: return keymap symbol
instead of "#<keymap>".
This commit is contained in:
parent
1b6605652c
commit
f5f4102ca1
1 changed files with 3 additions and 6 deletions
|
|
@ -234,12 +234,9 @@ function symbol (unquoted)."
|
|||
"#<keymap>")
|
||||
(t
|
||||
elem)))
|
||||
((keymapp elem)
|
||||
(if (and bind-key-describe-special-forms
|
||||
(symbolp elem)
|
||||
;; must be a symbol, non-symbol keymap case covered above
|
||||
((and bind-key-describe-special-forms (keymapp elem))
|
||||
(get elem 'variable-documentation))
|
||||
(format "%s" (get elem 'variable-documentation))
|
||||
"#<keymap>"))
|
||||
((symbolp elem)
|
||||
elem)
|
||||
(t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue