Function: allout-decorate-item-body

allout-decorate-item-body is a byte-compiled function defined in allout-widgets.el.gz.

Signature

(allout-decorate-item-body ITEM-WIDGET &optional FORCE)

Documentation

Incorporate item body text as part the ITEM-WIDGET.

Optional FORCE means force reassignment of the region property.

Source Code

;; Defined in /usr/src/emacs/lisp/allout-widgets.el.gz
;;;_   > allout-decorate-item-body (item-widget &optional force)
(defun allout-decorate-item-body (item-widget &optional force)
  "Incorporate item body text as part the ITEM-WIDGET.

Optional FORCE means force reassignment of the region property."

  (let* ((allout-inhibit-body-modification-hook t)
         (body-start (widget-get item-widget :body-start))
         (body-end (widget-get item-widget :body-end))
         (inhibit-read-only t))

    (allout-item-element-span-is item-widget :body-span
                              body-start (min (1+ body-end) (point-max))
                              force)))