Mercurial > emacs
changeset 22487:cd99ca6a8f1f
(find-function-on-key): Don't discard up event after down event.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 14 Jun 1998 19:04:40 +0000 |
parents | a28020246db1 |
children | e4d597ddd2d0 |
files | lisp/emacs-lisp/find-func.el |
diffstat | 1 files changed, 0 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/find-func.el Sun Jun 14 19:04:01 1998 +0000 +++ b/lisp/emacs-lisp/find-func.el Sun Jun 14 19:04:40 1998 +0000 @@ -250,14 +250,6 @@ "Find the function that KEY invokes. KEY is a string. Point is saved if FUNCTION is in the current buffer." (interactive "kFind function on key: ") - ;; If this key seq ends with a down event, discard the - ;; following click or drag event. Otherwise that would - ;; erase an eventual message. - (let ((type (aref key (1- (length key))))) - (if (listp type) (setq type (car type))) - (and (symbolp type) - (memq 'down (event-modifiers type)) - (read-event))) (save-excursion (let ((modifiers (event-modifiers (aref key 0))) window position)