mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Merge pull request from alezost/keymap-doc-fix
Handle the case when keymap has a broken documentation GitHub-reference: https://github.com/jwiegley/use-package/issues/223
This commit is contained in:
commit
4593f178e3
1 changed files with 2 additions and 1 deletions
|
|
@ -271,7 +271,8 @@ function symbol (unquoted)."
|
|||
elem)))
|
||||
;; must be a symbol, non-symbol keymap case covered above
|
||||
((and bind-key-describe-special-forms (keymapp elem))
|
||||
(get elem 'variable-documentation))
|
||||
(let ((doc (get elem 'variable-documentation)))
|
||||
(if (stringp doc) doc elem)))
|
||||
((symbolp elem)
|
||||
elem)
|
||||
(t
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue