Ihor Radchenko writes: > AFAIU, `require-final-newline' is t by default, except binary data. > Also, Org export is not designed to generate binary output. > So, it should be OK to ensure the final newline manually, in > `org-export-to-file' - to minimize possible breakage. See the attached tentative patch. I am not merging it yet upstream (onto bugfix) in case if there are objections.