diff options
author | Yuchen Pei <hi@ypei.me> | 2022-02-17 19:40:21 +1100 |
---|---|---|
committer | Yuchen Pei <hi@ypei.me> | 2022-02-17 19:40:21 +1100 |
commit | 87973ec8a51d55ecfd4131b56d16656fbd698f96 (patch) | |
tree | 0f0c909bd5623601e6049dc2aa59f5b5921506e2 /publish.el | |
parent | d4ed7d7df524e397fbcdae5e25e1e13b4f10b4a3 (diff) |
updated css and fixed problem with trailing empty lines
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))))))) |