emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What might ‘org-element-at-point’ be doing in *scratch*?


From: Ihor Radchenko
Subject: Re: What might ‘org-element-at-point’ be doing in *scratch*?
Date: Tue, 04 Jun 2024 10:13:48 +0000

Christian Moe <mail@christianmoe.com> writes:

> After upgrading to 9.7.1 on Emacs 27.1, I get a curious warning on Emacs
> start-up:
>
> "Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org
> buffer #<buffer *scratch*> (fundamental-mode)"
>
> It does not happen with 'emacs -Q', but it also did not happen before
> the upgrade, so I don't know what in my configuration now triggers it,
> or why anything would want to do this.

Try M-x debug-on-entry org-element-at-point and you may then get clues
from the backtrace.

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

[Prev in Thread] Current Thread [Next in Thread]