I'm trying to update an orgmode document programatically.
I can create an AST from a buffer using org-element-parse-buffer, but how do I do the reverse and output the modified AST to a buffer?
I'm trying to update an orgmode document programatically.
I can create an AST from a buffer using org-element-parse-buffer, but how do I do the reverse and output the modified AST to a buffer?