George Mauer <gma...@gmail.com> writes: > If I have a document what looks like the following. What code could I run > for the ??? to get the property value for "workspace-directory" that is > closest in the outline to the location running the code? > > * Top Level > :PROPERTIES: > :workspace-directory: /tmp > :END: > > #+begin_src emacs-lisp > (???) ; /tmp > #+end_src
#+begin_src emacs-lisp :var prop-value=(org-entry-get (point) "workspace-directory") prop-value #+end_src -- Ihor Radchenko // yantar92, Org mode contributor, 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>