bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#30942: [PATCH] Add `key-description' as inverse of `kbd'.


From: Hong Xu
Subject: bug#30942: [PATCH] Add `key-description' as inverse of `kbd'.
Date: Sun, 25 Mar 2018 14:35:51 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

2018-03-25  Hong Xu  <address@hidden>

        * 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: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]