]> git.eshelyaron.com Git - emacs.git/commitdiff
Mention `key-description' as inverse of `kbd' (Bug#30942)
authorHong Xu <hong@topbug.net>
Sun, 25 Mar 2018 21:35:51 +0000 (14:35 -0700)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 31 Mar 2018 04:50:37 +0000 (00:50 -0400)
* lisp/subr.el (kbd): Add `key-description' as inverse of `kbd' in the
doc.

lisp/subr.el

index 2de5b3766c2f0bafd97629aa70b8eb3141864e29..f8ac70edefae041188fffbd613be663d75954aae 100644 (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))