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 a11c5c0..4b74601 100644
--- a/custom/jao-custom-blog.el
+++ b/custom/jao-custom-blog.el
@@ -171,7 +171,7 @@
(to (expand-file-name (file-name-nondirectory from)
org-static-blog-posts-directory)))
(rename-file from to)
- (when-let ((b (get-buffer from)))
+ (when-let* ((b (get-buffer from)))
(kill-buffer b))
(find-file to)
(jao-org-static-blog-update-date)