Files
emacs-doom/config.el
Daneel 7a1498cdd7 fix(org-latex): setq-local instead of insert for tabularx — no buffer modification
Root cause of Emacs 31 recursion: insert in org-export-before-processing-hook
triggers hooks that inhibit-modification-hooks does not suppress on Emacs 31
(window management, org-fold text properties, etc.). The old Mac (older Emacs)
was not affected.

Fix: setq-local org-latex-default-table-environment in the hook.
No buffer content modification → no hook chains → no recursion possible.
org-latex.el natively handles tabularx by adding \linewidth width argument.
tabularx added to org-latex-packages-alist.
2026-02-23 15:09:27 +01:00

40 KiB