diff options
author | Richard M. Stallman <rms@gnu.org> | 2001-12-28 02:11:59 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2001-12-28 02:11:59 +0000 |
commit | a0d32c10a6c5fb9ee68f3b6a1f86e388a3b2608b (patch) | |
tree | 72db0ebbe270895fddde8ec39d16a932e24171c9 /lisp/help.el | |
parent | 3058e43675087a8c3b58ffe5fb7d0fc3d7fc9f45 (diff) | |
download | emacs-a0d32c10a6c5fb9ee68f3b6a1f86e388a3b2608b.tar.gz |
(describe-key): Doc fix.
Diffstat (limited to 'lisp/help.el')
-rw-r--r-- | lisp/help.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/help.el b/lisp/help.el index a0308b74b5d..d4b5ceacb4d 100644 --- a/lisp/help.el +++ b/lisp/help.el @@ -461,7 +461,9 @@ If INSERT (the prefix arg) is non-nil, insert the message in the buffer." (defun describe-key (key) - "Display documentation of the function invoked by KEY. KEY is a string." + "Display documentation of the function invoked by KEY. +KEY should be a key sequence--when calling from a program, +pass a string or a vector." (interactive "kDescribe key: ") (save-excursion (let ((modifiers (event-modifiers (aref key 0))) |