On 2014-11-02 18:08 Nicolas Goaziou wrote:
> Hello,
>
> Alexander Baier <alexander.ba...@mailbox.org> writes:
>
>> I am looking for a function that starts at point and walks up the
>> outline-tree searching for property P. If P is defined the function
>> returns P's value, otherwise nil. If The top level headline does not
>> have a property P, the function looks for #+P between the first headline
>> and bob.
>>
>> Is there something in org's code base that does this?
>
>   (org-entry-get (point) "P" t)
>
> However, it will look for "#+PROPERTY: P val" instead, and it isn't
> limited to data before first headline.

This is perfect, thank you!

Regards,
-- 
Alexander Baier

Reply via email to