Hello, Tobias Zawada <i_in...@tn-home.de> writes:
> org-export-data for the signature causes double LaTeX translation at > https://emacs.stackexchange.com/questions/42200/prevent-org-export-from-expanding-as-backslash/42207?noredirect=1#comment66334_42207. > > The translator for the headlines org-koma-letter-headline is used to > extract the :closing: headline and to put its stuff into > org-koma-letter-special-contents. org-koma-letter--get-tagged-contents > retrieves the closing from there. I have the impression that > org-koma-letter-headline already gets the translated headline contents > and translating it again with org-export-data is a bad idea. Correct. > (org-trim > - (org-export-data > - (org-koma-letter--get-tagged-contents 'closing) > - info))))) > + (org-koma-letter--get-tagged-contents 'closing) > + info)))) This will fail if `org-koma-letter--get-tagged-contents' returns a nil value. I applied a slightly different patch. Thank you for the analysis and the patch. Regards, -- Nicolas Goaziou