Function: smart-point-of-coords

smart-point-of-coords is a byte-compiled function defined in hui-window.el.

Signature

(smart-point-of-coords COORDS)

Documentation

Return point within window in which COORDS fall or nil if none.

Ignores minibuffer window.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-window.el
(defun smart-point-of-coords (coords)
  "Return point within window in which COORDS fall or nil if none.
Ignores minibuffer window."
  (cond ((markerp coords)
	 (marker-position coords))
	((eventp coords)
	 (posn-point (event-start coords)))))