aboutsummaryrefslogtreecommitdiff
path: root/publish.el
diff options
context:
space:
mode:
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/publish.el b/publish.el
index 9581a6e..4b7274c 100644
--- a/publish.el
+++ b/publish.el
@@ -60,7 +60,9 @@ The content starts with the first empty line."
(when (and (file-readable-p file) (not (directory-name-p file)))
(with-temp-buffer
(insert-file-contents file)
- (delete-trailing-whitespace) ;; important, otherwise org may truncate the sitemap, probably due to some problem in converting all things to a list
+ ;; important, otherwise org may truncate the sitemap, probably
+ ;; due to some problem in converting all things to a list
+ (delete-trailing-whitespace)
(goto-char (point-min))
(let ((beg (+ 1 (re-search-forward "^$"))))
(buffer-substring beg (point-max)))))))