From a0d32c10a6c5fb9ee68f3b6a1f86e388a3b2608b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 28 Dec 2001 02:11:59 +0000 Subject: [PATCH] (describe-key): Doc fix. --- lisp/help.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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))) -- 2.39.5