diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-10-30 13:53:28 +0100 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-10-30 13:53:28 +0100 |
commit | ad811f54377d3fc6f122352608c4039717b249f9 (patch) | |
tree | 495ff8ee3aef66dd87ac81189084eb7e5584913a | |
parent | 5e30d4fa4e6eefee0a08da563992184737f53521 (diff) | |
download | org-mode-ad811f54377d3fc6f122352608c4039717b249f9.tar.gz |
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.
-rw-r--r-- | contrib/lisp/org-export.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index aaacc25..32312e9 100644 --- a/contrib/lisp/org-export.el +++ b/contrib/lisp/org-export.el @@ -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 |