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