org-list-write-struct

org-list-write-struct is a compiled Lisp function in `org-list.el'.

(org-list-write-struct STRUCT PARENTS &optional OLD-STRUCT)

Correct bullets, checkboxes and indentation in list at point.

STRUCT is the list structure. PARENTS is the alist of parents,
as returned by `org-list-parents-alist'.

When non-nil, optional argument OLD-STRUCT is the reference
structure of the list. It should be provided whenever STRUCT
doesn't correspond anymore to the real list in buffer.