Function: corfu-popupinfo--fits-p
corfu-popupinfo--fits-p is a byte-compiled function defined in
corfu-popupinfo.el.
Signature
(corfu-popupinfo--fits-p SIZE AREA)
Documentation
Check if SIZE fits into the AREA.
SIZE is in the form (WIDTH . HEIGHT). AREA is in the form (X Y WIDTH HEIGHT DIR).
Source Code
;; Defined in ~/.emacs.d/elpa/corfu-20260813.950/corfu-popupinfo.el
(defun corfu-popupinfo--fits-p (size area)
"Check if SIZE fits into the AREA.
SIZE is in the form (WIDTH . HEIGHT).
AREA is in the form (X Y WIDTH HEIGHT DIR)."
(and (>= (nth 2 area) (car size)) (>= (nth 3 area) (cdr size))))