Function: posn-window
posn-window is a byte-compiled function defined in subr.el.gz.
Signature
(posn-window POSITION)
Documentation
Return the window in POSITION.
If POSITION is outside the frame where the event was initiated,
return that frame instead. POSITION should be a list of the form
returned by the event-start and event-end functions.
Source Code
;; Defined in /usr/src/emacs/lisp/subr.el.gz
(integerp (car-safe (cdr obj))))) ;TIMESTAMP.
(defsubst posn-window (position)
"Return the window in POSITION.
If POSITION is outside the frame where the event was initiated,
return that frame instead. POSITION should be a list of the form
returned by the `event-start' and `event-end' functions."
(declare (side-effect-free t))
(nth 0 position))