aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1998-06-14 19:04:40 +0000
committerRichard M. Stallman1998-06-14 19:04:40 +0000
commit8b0697787a0fa558ef04c8d1f52f00894aa1d4d0 (patch)
tree12bb68a537dec97d0b38676c995b9a57bee572e3
parent1674d9a28b1e4ea7ca6b39ac1e5d74f9ccb15302 (diff)
downloademacs-8b0697787a0fa558ef04c8d1f52f00894aa1d4d0.tar.gz
emacs-8b0697787a0fa558ef04c8d1f52f00894aa1d4d0.zip
(find-function-on-key): Don't discard up event after down event.
-rw-r--r--lisp/emacs-lisp/find-func.el8
1 files changed, 0 insertions, 8 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 22b96ac6c51..9c9830b4f5a 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -250,14 +250,6 @@ defined is searched in PATH instead of `load-path'"
250 "Find the function that KEY invokes. KEY is a string. 250 "Find the function that KEY invokes. KEY is a string.
251Point is saved if FUNCTION is in the current buffer." 251Point is saved if FUNCTION is in the current buffer."
252 (interactive "kFind function on key: ") 252 (interactive "kFind function on key: ")
253 ;; If this key seq ends with a down event, discard the
254 ;; following click or drag event. Otherwise that would
255 ;; erase an eventual message.
256 (let ((type (aref key (1- (length key)))))
257 (if (listp type) (setq type (car type)))
258 (and (symbolp type)
259 (memq 'down (event-modifiers type))
260 (read-event)))
261 (save-excursion 253 (save-excursion
262 (let ((modifiers (event-modifiers (aref key 0))) 254 (let ((modifiers (event-modifiers (aref key 0)))
263 window position) 255 window position)