Function: widget-inline-p

widget-inline-p is a byte-compiled function defined in wid-edit.el.gz.

Signature

(widget-inline-p WIDGET &optional BUBBLEP)

Documentation

Non-nil if the widget WIDGET is inline.

With BUBBLEP non-nil, check also if WIDGET has a member that bubbles its inline property (if any), up to WIDGET, so that WIDGET can act as an inline widget.

Source Code

;; Defined in /usr/src/emacs/lisp/wid-edit.el.gz
(defun widget-inline-p (widget &optional bubblep)
  "Non-nil if the widget WIDGET is inline.

With BUBBLEP non-nil, check also if WIDGET has a member that bubbles its inline
property (if any), up to WIDGET, so that WIDGET can act as an inline widget."
  (or (widget-get widget :inline)
      (and bubblep
           (widget-get widget :inline-bubbles-p)
           (widget-apply widget :inline-bubbles-p))))