diff options
| author | Hong Xu | 2018-03-25 14:35:51 -0700 |
|---|---|---|
| committer | Noam Postavsky | 2018-03-31 00:50:37 -0400 |
| commit | 3bc1e2f0ac63fc4da6a67a619a333aa6e4529bf4 (patch) | |
| tree | 0985d0f2a54af3b7e2de49ae0b0e33833ced4d8d /lisp | |
| parent | e50196e8a96216f1fd69f9257cddd8d76ad2ac78 (diff) | |
| download | emacs-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.el | 4 |
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." | |||
| 774 | KEYS should be a string in the format returned by commands such | 774 | KEYS should be a string in the format returned by commands such |
| 775 | as `C-h k' (`describe-key'). | 775 | as `C-h k' (`describe-key'). |
| 776 | This is the same format used for saving keyboard macros (see | 776 | This is the same format used for saving keyboard macros (see |
| 777 | `edmacro-mode')." | 777 | `edmacro-mode'). |
| 778 | |||
| 779 | For 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)) |