Function: xwidget-adjust-size-to-content
xwidget-adjust-size-to-content is a byte-compiled function defined in
xwidget.el.gz.
Signature
(xwidget-adjust-size-to-content XW)
Documentation
Resize XW to content.
Source Code
;; Defined in /usr/src/emacs/lisp/xwidget.el.gz
(defun xwidget-adjust-size-to-content (xw)
"Resize XW to content."
;; xwidgets doesn't support widgets that have their own opinions about
;; size well, yet this reads the desired size and resizes the Emacs
;; allocated area accordingly.
(let ((size (xwidget-size-request xw)))
(xwidget-resize xw (car size) (cadr size))))