]> code.delx.au - gnu-emacs/commitdiff
(describe-key-briefly): Compute interactive args
authorRichard M. Stallman <rms@gnu.org>
Tue, 21 Feb 2006 19:51:37 +0000 (19:51 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 21 Feb 2006 19:51:37 +0000 (19:51 +0000)
in same was as before previous change.

lisp/help.el

index 02045948ecb66fa42d224d4ffb85bc4dde845ca6..f74293b8dd6a12216d0ac828d71aa5d42d9f7087 100644 (file)
@@ -579,12 +579,8 @@ temporarily enables it to allow getting help on disabled items and buttons."
           (setq key (read-key-sequence "Describe key (or click or menu item): "))
           (list
            key
-           (prefix-numeric-value current-prefix-arg)
-           ;; If KEY is a down-event, read the corresponding up-event
-           ;; and use it as the third argument.
-           (if (and (consp key) (symbolp (car key))
-                    (memq 'down (cdr (get (car key) 'event-symbol-elements))))
-               (read-event))))
+           (if current-prefix-arg (prefix-numeric-value current-prefix-arg))
+           1))
        ;; Put yank-menu back as it was, if we changed it.
        (when saved-yank-menu
         (setq yank-menu (copy-sequence saved-yank-menu))