emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] outputting a modified parsetree


From: Eric Abrahamsen
Subject: Re: [O] outputting a modified parsetree
Date: Tue, 30 Sep 2014 00:28:52 +0800
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

"Pete Bataleck" <address@hidden> writes:

> 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 think `org-element-interpret-data' is the function you're looking for.
Take a look at the source in org-element.el -- that ought to do it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]