Hello, 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? Regards, -- Alexander Baier