Max Nikulin <maniku...@gmail.com> writes: > Ihor, I have tried your patch (v2). With a tiny test file it works as > expected. I have not managed to add some text immediately after \relax > to break this command. > ... > Reading with more attention, I do not think that second constant really > makes the code more clear. I had a hope that it is enough to introduce a > single constant, but it seems it is not the case. I did not expect that > newline should not be added e.g. planning export handler. Perhaps it is > better to commit v1. > ... > A minor naming inconsistency: "line-break" and "linebreak".
Thanks for testing! I applied the version 1 of the patch onto main changing the org-latex-linebreak-safe to org-latex-line-break-safe. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3f60acff7717e472d06833e9cf9fff6ca3d59337 Fixed. -- 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>