Function: posframe-funcall

posframe-funcall is a byte-compiled function defined in posframe.el.

Signature

(posframe-funcall BUFFER-OR-NAME FUNCTION &rest ARGUMENTS)

Documentation

Select posframe of BUFFER-OR-NAME and call FUNCTION with ARGUMENTS.

BUFFER-OR-NAME can be a buffer or a buffer name.

Source Code

;; Defined in ~/.emacs.d/elpa/posframe-20260415.14/posframe.el
(defun posframe-funcall (buffer-or-name function &rest arguments)
  "Select posframe of BUFFER-OR-NAME and call FUNCTION with ARGUMENTS.
BUFFER-OR-NAME can be a buffer or a buffer name."
  (when (functionp function)
    (when (get-buffer buffer-or-name)
      (with-current-buffer buffer-or-name
        (when (framep posframe--frame)
          (with-selected-frame posframe--frame
            (apply function arguments)))))))