Function: allout-redecorate-item
allout-redecorate-item is a byte-compiled function defined in
allout-widgets.el.gz.
Signature
(allout-redecorate-item ITEM-WIDGET)
Documentation
Resituate ITEM-WIDGET decorations, disregarding context.
Use this to redecorate only the item, when you know that its
situation with respect to siblings, parent, and offspring is
unchanged from its last decoration. Use
allout-decorate-item-and-context instead to reassess and adjust
relevant context, when suitable.
Source Code
;; Defined in /usr/src/emacs/lisp/allout-widgets.el.gz
;;;_ > allout-redecorate-item (item)
(defun allout-redecorate-item (item-widget)
"Resituate ITEM-WIDGET decorations, disregarding context.
Use this to redecorate only the item, when you know that its
situation with respect to siblings, parent, and offspring is
unchanged from its last decoration. Use
`allout-decorate-item-and-context' instead to reassess and adjust
relevant context, when suitable."
(if (not (equal (widget-get item-widget :last-decorated-tick)
allout-command-counter))
(let ((was-modified (buffer-modified-p))
(buffer-undo-list t))
(widget-apply item-widget :parse-item)
(widget-apply item-widget :decorate-guides)
(widget-apply item-widget :decorate-icon)
(widget-apply item-widget :decorate-cue)
(widget-apply item-widget :decorate-body)
(set-buffer-modified-p was-modified))))