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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user