[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-26 3bc1e2f 2/2: Mention `key-description' as inverse
From: |
Noam Postavsky |
Subject: |
[Emacs-diffs] emacs-26 3bc1e2f 2/2: Mention `key-description' as inverse of `kbd' (Bug#30942) |
Date: |
Sat, 31 Mar 2018 01:01:09 -0400 (EDT) |
branch: emacs-26
commit 3bc1e2f0ac63fc4da6a67a619a333aa6e4529bf4
Author: Hong Xu <address@hidden>
Commit: Noam Postavsky <address@hidden>
Mention `key-description' as inverse of `kbd' (Bug#30942)
* lisp/subr.el (kbd): Add `key-description' as inverse of `kbd' in the
doc.
---
lisp/subr.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 2de5b37..f8ac70e 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))