Function: allout-decorate-item-span
allout-decorate-item-span is a byte-compiled function defined in
allout-widgets.el.gz.
Signature
(allout-decorate-item-span ITEM-WIDGET)
Documentation
Equip the item with a span, as an entirety.
This span is implemented so it can be used to detect displacement of the widget in absolute terms, and provides an offset bias for the various element spans.
Source Code
;; Defined in /usr/src/emacs/lisp/allout-widgets.el.gz
;;;_ > allout-decorate-item-span (item-widget)
(defun allout-decorate-item-span (item-widget)
"Equip the item with a span, as an entirety.
This span is implemented so it can be used to detect displacement
of the widget in absolute terms, and provides an offset bias for
the various element spans."
(if (and (widget-get item-widget :is-container)
;; the only case where the span could be empty.
(eq (widget-get item-widget :from)
(widget-get item-widget :to)))
nil
(allout-item-span item-widget
(widget-get item-widget :from)
(widget-get item-widget :to))))