]> code.delx.au - gnu-emacs/commitdiff
Make the describe-key prompts clearer
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Mar 2016 14:09:02 +0000 (14:09 +0000)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Mar 2016 15:33:38 +0000 (15:33 +0000)
* lisp/help.el (describe-key-briefly): Make the prompt clearer
(bug#14854).
(describe-key): Ditto.

lisp/help.el

index ce68cea6dd52bad3f3e907124001fd518ad886c9..baccf5988b8882bda14c658b0bbaf881b0def5e6 100644 (file)
@@ -615,7 +615,7 @@ temporarily enables it to allow getting help on disabled items and buttons."
             (menu-bar-update-yank-menu "(any string)" nil))
            (while
                (progn
-                 (setq key (read-key-sequence "Describe key (or click or menu item): "))
+                 (setq key (read-key-sequence "Describe the following key, mouse click, or menu item: "))
                  (and (vectorp key)
                       (consp (aref key 0))
                       (symbolp (car (aref key 0)))
@@ -760,7 +760,7 @@ temporarily enables it to allow getting help on disabled items and buttons."
             (menu-bar-update-yank-menu "(any string)" nil))
            (while
                (progn
-                 (setq key (read-key-sequence "Describe key (or click or menu item): "))
+                 (setq key (read-key-sequence "Describe the following key, mouse click, or menu item: "))
                  (and (vectorp key)
                       (consp (aref key 0))
                       (symbolp (car (aref key 0)))