On 2025-10-25, at 18:30, Ihor Radchenko <[email protected]> wrote: > [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'.
Thanks. Would it make sense to add "official" functions for that? Best, -- Marcin Borkowski https://mbork.pl https://crimsonelevendelightpetrichor.net/
