summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHong Xu <hong@topbug.net>2018-03-25 14:35:51 -0700
committerNoam Postavsky <npostavs@gmail.com>2018-03-31 00:50:37 -0400
commit3bc1e2f0ac63fc4da6a67a619a333aa6e4529bf4 (patch)
tree0985d0f2a54af3b7e2de49ae0b0e33833ced4d8d
parente50196e8a96216f1fd69f9257cddd8d76ad2ac78 (diff)
downloademacs-3bc1e2f0ac63fc4da6a67a619a333aa6e4529bf4.tar.gz
Mention `key-description' as inverse of `kbd' (Bug#30942)
* lisp/subr.el (kbd): Add `key-description' as inverse of `kbd' in the doc.
-rw-r--r--lisp/subr.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 2de5b3766c2..f8ac70edefa 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -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))