diff options
| author | Lars Ingebrigtsen | 2016-04-29 20:27:22 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-04-29 20:27:46 +0200 |
| commit | 3a33afe25d8518f194fa4706eaccdb2a786a0348 (patch) | |
| tree | 415cbbcfe30241fbea89a55756cf3cf5337fd270 | |
| parent | aa112ebab77a14cae6010f5a926eae668c4f9d87 (diff) | |
| download | emacs-3a33afe25d8518f194fa4706eaccdb2a786a0348.tar.gz emacs-3a33afe25d8518f194fa4706eaccdb2a786a0348.zip | |
Doc fix for `kbd'
* lisp/subr.el (kbd): Describe more fully the format of the
parameter (bug#17039).
| -rw-r--r-- | lisp/subr.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 2dfd96edc07..6cc2585122c 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -620,8 +620,10 @@ side-effects, and the argument LIST is not modified." | |||
| 620 | 620 | ||
| 621 | (defun kbd (keys) | 621 | (defun kbd (keys) |
| 622 | "Convert KEYS to the internal Emacs key representation. | 622 | "Convert KEYS to the internal Emacs key representation. |
| 623 | KEYS should be a string constant in the format used for | 623 | KEYS should be a string in the format returned by commands such |
| 624 | saving keyboard macros (see `edmacro-mode')." | 624 | as `C-h k' (`describe-key'). |
| 625 | This is the same format used for saving keyboard macros (see | ||
| 626 | `edmacro-mode')." | ||
| 625 | ;; Don't use a defalias, since the `pure' property is only true for | 627 | ;; Don't use a defalias, since the `pure' property is only true for |
| 626 | ;; the calling convention of `kbd'. | 628 | ;; the calling convention of `kbd'. |
| 627 | (read-kbd-macro keys)) | 629 | (read-kbd-macro keys)) |