From: Richard M. Stallman Date: Fri, 28 Dec 2001 02:11:59 +0000 (+0000) Subject: (describe-key): Doc fix. X-Git-Tag: ttn-vms-21-2-B4~17457 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0d32c10a6c5fb9ee68f3b6a1f86e388a3b2608b;p=emacs.git (describe-key): Doc fix. --- 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)))