diff options
| -rw-r--r-- | lisp/emacs-lisp/find-func.el | 8 |
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. |
| 251 | Point is saved if FUNCTION is in the current buffer." | 251 | Point 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) |