diff options
Diffstat (limited to 'publish.el')
-rw-r--r-- | publish.el | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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))))))) |