libreville <librevi...@riseup.net> writes: > this looks like it might be a bug. > > As the subject line says, set-auto-mode fails when > org-startup-shrink-all-tables is t and file contains table.el tables. > > If my org file has a table.el table in it, like this > > +--+ > | | > +--+ > > then on finding the file I see the message `File mode specification > error: (user-error Not at a table)' and the buffer isn't properly > fontified.
Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=fbf39134f3 -- Ihor Radchenko // yantar92, Org mode maintainer, 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>