Ihor Radchenko <yanta...@posteo.net> writes:

> Christian Moe <m...@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.

Thanks! Nothing the matter with Org; pardon the noise.  Culprit found:
some old code of mine that called org-get-id on load for bad reasons,
and which Emacs has so far suffered in silence.

Yours,
Christian

Reply via email to