Files
emacs-doom/config.el
Daneel a60566d046 fix(org-latex): rewrite tabularx filter using with-temp-buffer + replace-match
Emacs 31 changed behavior of replace-regexp-in-string with lambda replacements
containing backslashes: 'Invalid use of backslash in replacement text' error.

Fix: use with-temp-buffer + re-search-forward + replace-match (literal t t).
replace-match with LITERAL=t never processes backslash sequences.

Also fixes \end{tabular} → \end{tabularx} regex to not match existing tabularx.
2026-02-23 15:23:51 +01:00

42 KiB