Function: org-num--refresh-display

org-num--refresh-display is a byte-compiled function defined in org-num.el.gz.

Signature

(org-num--refresh-display OVERLAY NUMBERING)

Documentation

Refresh OVERLAY's display.

NUMBERING specifies the new numbering, as a list of integers, or nil if nothing should be displayed. Assume OVERLAY is valid.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-num.el.gz
(defun org-num--refresh-display (overlay numbering)
  "Refresh OVERLAY's display.
NUMBERING specifies the new numbering, as a list of integers, or
nil if nothing should be displayed.  Assume OVERLAY is valid."
  (let ((display (and numbering
                      (funcall org-num-format-function (reverse numbering)))))
    (when (and display (not (get-text-property 0 'face display)))
      (org-add-props display `(face ,(overlay-get overlay 'numbering-face))))
    (overlay-put overlay 'after-string display)))