forked from mirrors/org-mode
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:
parent
5e30d4fa4e
commit
ad811f5437
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue