summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-blog.el
diff options
context:
space:
mode:
Diffstat (limited to 'custom/jao-custom-blog.el')
-rw-r--r--custom/jao-custom-blog.el2
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))))