Bob Newell <bobnew...@bobnewell.net> writes: > ... It does however leave open the > question about whether there are or are not legitimate cases > for org-element-at-point in buffers which are not org buffers > but present summary or custom views of org material like the > agenda.
Yes, calling `org-element-at-point' in non-Org buffers is most likely a mistake - `org-element-at-point' either returns nil, a garbage, or errs in non-Org buffers. -- 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>