unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* 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

* bug#30942: [PATCH] Add `key-description' as inverse of `kbd'.
  2018-03-25 21:35 bug#30942: [PATCH] Add `key-description' as inverse of `kbd' Hong Xu
@ 2018-03-31  5:02 ` Noam Postavsky
  0 siblings, 0 replies; 2+ messages in thread
From: Noam Postavsky @ 2018-03-31  5:02 UTC (permalink / raw)
  To: Hong Xu; +Cc: 30942

tags 30942 fixed
close 30942 26.1
quit

> 2018-03-25  Hong Xu  <hong@topbug.net>
>
> 	* lisp/subr.el (kbd): Add `key-description' as inverse of
>           `kbd' in the doc.

> --- a/lisp/subr.el
> +++ b/lisp/subr.el
> @@ -774,7 +774,9 @@ kbd
> +For an approximate inverse of this, see `key-description'."

Pushed to emacs-26.

[1: 3bc1e2f0ac]: 2018-03-31 00:50:37 -0400
  Mention `key-description' as inverse of `kbd' (Bug#30942)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3bc1e2f0ac63fc4da6a67a619a333aa6e4529bf4





^ permalink raw reply	[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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).