diff options
| -rw-r--r-- | lisp/progmodes/gud.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 655c7496142..3b8c9628c3b 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -3401,10 +3401,7 @@ This function must return nil if it doesn't handle EVENT." | |||
| 3401 | (if (and (eq gud-minor-mode 'gdba) | 3401 | (if (and (eq gud-minor-mode 'gdba) |
| 3402 | (not gdb-active-process)) | 3402 | (not gdb-active-process)) |
| 3403 | (progn | 3403 | (progn |
| 3404 | (with-current-buffer | 3404 | (with-current-buffer (tooltip-event-buffer event) |
| 3405 | (window-buffer (let ((mouse (mouse-position))) | ||
| 3406 | (window-at (cadr mouse) | ||
| 3407 | (cddr mouse)))) | ||
| 3408 | (let ((define-elt (assoc expr gdb-define-alist))) | 3405 | (let ((define-elt (assoc expr gdb-define-alist))) |
| 3409 | (unless (null define-elt) | 3406 | (unless (null define-elt) |
| 3410 | (tooltip-show | 3407 | (tooltip-show |