Function: posframe-poshandler-point-frame-center

posframe-poshandler-point-frame-center is a byte-compiled function defined in posframe.el.

Signature

(posframe-poshandler-point-frame-center INFO)

Documentation

Posframe's position handler.

This poshandler function let center of posframe vertical align to center of frame and top edge of posframe horizontal align to buttom edge of current point.

The structure of INFO can be found in docstring of posframe-show.

Source Code

;; Defined in ~/.emacs.d/elpa/posframe-20260415.14/posframe.el
(defun posframe-poshandler-point-frame-center (info)
  "Posframe's position handler.

This poshandler function let center of posframe vertical align to
center of frame and top edge of posframe horizontal align to
buttom edge of current point.

The structure of INFO can be found in docstring of
`posframe-show'."
  (let ((x (car (posframe-poshandler-frame-top-center info)))
        (y (cdr (posframe-poshandler-point-bottom-left-corner info))))
    (cons x y)))