Deric Bytes <dericby...@gmail.com> writes:

> Expected:
>
>    Running `org-element-at-point' on large empty file returns nil.
>
> How to replicate:
>
> emacs -q
> (require 'org)
> (newline 200000)
> (org-element-at-point)

You are trying to run an Org AST query command in a non-Org buffer. Org
commands are not guaranteed to work in other major modes, unless
explicitly promised in the docstring.

Canceled.

-- 
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>

Reply via email to