diff options
| author | Gerd Moellmann | 2001-09-07 11:34:17 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2001-09-07 11:34:17 +0000 |
| commit | 75377eba1c524a0a210abfaace2f5b4fe2da3392 (patch) | |
| tree | 92de4173f53397bb0d3a9471bf9bef36b73aa39c | |
| parent | 4f3d7805a210edc0e0267ca6e6eadb176f8f4278 (diff) | |
| download | emacs-75377eba1c524a0a210abfaace2f5b4fe2da3392.tar.gz emacs-75377eba1c524a0a210abfaace2f5b4fe2da3392.zip | |
(sup-pos-to-window): Use
get-window-with-predicate.
| -rw-r--r-- | lisp/term/sup-mouse.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/term/sup-mouse.el b/lisp/term/sup-mouse.el index 849569e1847..d48ad3d8581 100644 --- a/lisp/term/sup-mouse.el +++ b/lisp/term/sup-mouse.el | |||
| @@ -193,6 +193,7 @@ X and Y are 0-based character positions in the window." | |||
| 193 | (defun sup-pos-to-window (x y) | 193 | (defun sup-pos-to-window (x y) |
| 194 | "Find window corresponding to frame coordinates. | 194 | "Find window corresponding to frame coordinates. |
| 195 | X and Y are 0-based character positions on the frame." | 195 | X and Y are 0-based character positions on the frame." |
| 196 | (some-window (lambda (w) (coordinates-in-window-p (cons x y) w)))) | 196 | (get-window-with-predicate (lambda (w) |
| 197 | (coordinates-in-window-p (cons x y) w)))) | ||
| 197 | 198 | ||
| 198 | ;;; sup-mouse.el ends here | 199 | ;;; sup-mouse.el ends here |