aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorHong Xu2018-03-25 14:35:51 -0700
committerNoam Postavsky2018-03-31 00:50:37 -0400
commit3bc1e2f0ac63fc4da6a67a619a333aa6e4529bf4 (patch)
tree0985d0f2a54af3b7e2de49ae0b0e33833ced4d8d /lisp
parente50196e8a96216f1fd69f9257cddd8d76ad2ac78 (diff)
downloademacs-3bc1e2f0ac63fc4da6a67a619a333aa6e4529bf4.tar.gz
emacs-3bc1e2f0ac63fc4da6a67a619a333aa6e4529bf4.zip
Mention `key-description' as inverse of `kbd' (Bug#30942)
* lisp/subr.el (kbd): Add `key-description' as inverse of `kbd' in the doc.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/subr.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 2de5b3766c2..f8ac70edefa 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -774,7 +774,9 @@ side-effects, and the argument LIST is not modified."
774KEYS should be a string in the format returned by commands such 774KEYS should be a string in the format returned by commands such
775as `C-h k' (`describe-key'). 775as `C-h k' (`describe-key').
776This is the same format used for saving keyboard macros (see 776This is the same format used for saving keyboard macros (see
777`edmacro-mode')." 777`edmacro-mode').
778
779For an approximate inverse of this, see `key-description'."
778 ;; Don't use a defalias, since the `pure' property is only true for 780 ;; Don't use a defalias, since the `pure' property is only true for
779 ;; the calling convention of `kbd'. 781 ;; the calling convention of `kbd'.
780 (read-kbd-macro keys)) 782 (read-kbd-macro keys))