mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 22:41:06 -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>")
|
"#<keymap>")
|
||||||
(t
|
(t
|
||||||
elem)))
|
elem)))
|
||||||
((keymapp elem)
|
;; must be a symbol, non-symbol keymap case covered above
|
||||||
(if (and bind-key-describe-special-forms
|
((and bind-key-describe-special-forms (keymapp elem))
|
||||||
(symbolp elem)
|
|
||||||
(get elem 'variable-documentation))
|
(get elem 'variable-documentation))
|
||||||
(format "%s" (get elem 'variable-documentation))
|
|
||||||
"#<keymap>"))
|
|
||||||
((symbolp elem)
|
((symbolp elem)
|
||||||
elem)
|
elem)
|
||||||
(t
|
(t
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue