Mention key-description' as inverse of kbd' (Bug#30942)

* lisp/subr.el (kbd): Add `key-description' as inverse of `kbd' in the
doc.
This commit is contained in:
Hong Xu 2018-03-25 14:35:51 -07:00 committed by Noam Postavsky
parent e50196e8a9
commit 3bc1e2f0ac

View file

@ -774,7 +774,9 @@ side-effects, and the argument LIST is not modified."
KEYS should be a string in the format returned by commands such
as `C-h k' (`describe-key').
This is the same format used for saving keyboard macros (see
`edmacro-mode')."
`edmacro-mode').
For an approximate inverse of this, see `key-description'."
;; Don't use a defalias, since the `pure' property is only true for
;; the calling convention of `kbd'.
(read-kbd-macro keys))