diff options
| author | Nick Roberts | 2008-04-12 13:14:56 +0000 |
|---|---|---|
| committer | Nick Roberts | 2008-04-12 13:14:56 +0000 |
| commit | bcb96719b37029024876fca1f65eab69d32aa6d8 (patch) | |
| tree | 9b90cd11e3cbd775245bba3410d55abbfe61fcc6 | |
| parent | 6c6273c6a54a6b7482636e995b1dec27ce385aad (diff) | |
| download | emacs-bcb96719b37029024876fca1f65eab69d32aa6d8.tar.gz emacs-bcb96719b37029024876fca1f65eab69d32aa6d8.zip | |
(gud-tooltip-tips): Use tooltip-event-buffer
| -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 |