Re: Setting buffer-level properties in code

2024-10-12 Thread Ihor Radchenko
mb...@mbork.pl writes: > #+PROPERTY: name value > ... > However, what I need is to programmatically insert or change that line > to set or update the property. Is there a built-in function for that or > do I have to search and update that line myself? There is nothing built-in, AFAIK. Maybe http

Re: Setting buffer-level properties in code

2024-10-12 Thread Rohit Patnaik
> However, what I need is to programmatically insert or change that line > to set or update the property. Is there a built-in function for that or > do I have to search and update that line myself? I would look at `org-entry-put`. It seems like it does what you need --- it takes an element, mark