Scott Otterson <sco...@sharpleaf.org> writes: > With straight.el, it's Org mode version 9.5.3. > > If I open the file with emacs -Q, I'm surprised to see that I get a > different warning message: > > File mode specification error: (void-variable org-fold-core-style) > > This is on emacs 28.1, which uses Org mode version 9.5.2
Clearly, something is strange on your side. Does the same happens on other Org files with emacs -Q? If not, is there anything like buffer-local of directory-local settings that might trigger the error? (there should not be, unless you somehow set them by yourself - Org should not touch these settings) Best, Ihor