[email protected] writes: > I'd like to set some in-buffer keyword (is that the right name? I mean > things like #+TITLE or in my case, #+PROPERTY) to some value in Elisp. > Also, I'd like to update that property so that `org-entry-get' will > return the updated value. Is there an existing function for that or do > I need to find the `#+PROPERTY:' line (presumably using regexen), delete > the old value and insert the new one myself?
There is no existing function. The best you can do is setting top-level drawer. But not the in-buffer keywords. For updating, the only currently available way is `org-mode-restart'. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
