diff options
Diffstat (limited to 'custom')
-rw-r--r-- | custom/jao-custom-blog.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/jao-custom-blog.el b/custom/jao-custom-blog.el index 201aed6..6ae4544 100644 --- a/custom/jao-custom-blog.el +++ b/custom/jao-custom-blog.el @@ -156,7 +156,7 @@ (when (y-or-n-p "Update date? ") (goto-char (point-min)) (when (re-search-forward "^#\\+date: " nil t) - (let ((kill-whole-line nil)) (kill-line)) + (delete-line) (insert (format-time-string "<%Y-%m-%d %H:%M>")) (save-buffer)))) |