Carsten Dominik <carsten.domi...@gmail.com> writes:

> what is the magic incantation to use org-element to figure out if
> point is currently inside a drawer?
>

(eq 'drawer (org-element-type (org-element-at-point)))

is my (untested) guess, but I don't think you can be at an arbitrary
place inside: you'll need to be on the :DRAWER: line or on the :END:
line, otherwise you'll get the type of the drawer contents.

Nick


Reply via email to