projects
/
org-mode.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5e30d4f
)
org-export: Fix inclusion of files with no final newline
author
Nicolas Goaziou
<n.goaziou@gmail.com>
Tue, 30 Oct 2012 12:53:28 +0000 (13:53 +0100)
committer
Nicolas Goaziou
<n.goaziou@gmail.com>
Tue, 30 Oct 2012 12:53:28 +0000 (13:53 +0100)
* contrib/lisp/org-export.el (org-export--prepare-file-contents): File
contents should end with a newline character.
contrib/lisp/org-export.el
patch
|
blob
|
history
diff --git
a/contrib/lisp/org-export.el
b/contrib/lisp/org-export.el
index
aaacc25
..
32312e9
100644
(file)
--- 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))))
\f
;;; Tools For Back-Ends