* bug#30942: [PATCH] Add `key-description' as inverse of `kbd'.
@ 2018-03-25 21:35 Hong Xu
2018-03-31 5:02 ` Noam Postavsky
0 siblings, 1 reply; 2+ messages in thread
From: Hong Xu @ 2018-03-25 21:35 UTC (permalink / raw)
To: 30942
[-- Attachment #1.1: Type: text/plain, Size: 779 bytes --]
2018-03-25 Hong Xu <hong@topbug.net>
* 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 2de5b3766c2f..f8ac70edefae 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -774,7 +774,9 @@ kbd
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))
--
2.11.0
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-31 5:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-25 21:35 bug#30942: [PATCH] Add `key-description' as inverse of `kbd' Hong Xu
2018-03-31 5:02 ` Noam Postavsky
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.