emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-25 bc6c294 12/64: Doc fix for `kbd'


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] emacs-25 bc6c294 12/64: Doc fix for `kbd'
Date: Sun, 01 May 2016 18:18:39 +0000

branch: emacs-25
commit bc6c294d606266a410abdb8954bf6d4acbd21df9
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    Doc fix for `kbd'
    
    * lisp/subr.el (kbd): Describe more fully the format of the
    parameter (bug#17039).
    
    (cherry picked from commit 3a33afe25d8518f194fa4706eaccdb2a786a0348)
---
 lisp/subr.el |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index 0fb4a2e..ce49604 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -619,8 +619,10 @@ side-effects, and the argument LIST is not modified."
 
 (defun kbd (keys)
   "Convert KEYS to the internal Emacs key representation.
-KEYS should be a string constant in the format used for
-saving keyboard macros (see `edmacro-mode')."
+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')."
   ;; Don't use a defalias, since the `pure' property is only true for
   ;; the calling convention of `kbd'.
   (read-kbd-macro keys))



reply via email to

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