org-export: Fix inclusion of files with no final newline

* contrib/lisp/org-export.el (org-export--prepare-file-contents): File
  contents should end with a newline character.
This commit is contained in:
Nicolas Goaziou 2012-10-30 13:53:28 +01:00
parent 5e30d4fa4e
commit ad811f5437
1 changed files with 1 additions and 1 deletions

View File

@ -2906,7 +2906,7 @@ file should have."
(org-map-entries
(lambda () (if (< offset 0) (delete-char (abs offset))
(insert (make-string offset ?*)))))))))))
(buffer-string)))
(org-element-normalize-string (buffer-string))))
;;; Tools For Back-Ends