aboutsummaryrefslogtreecommitdiff
path: root/lisp/seam.el
diff options
context:
space:
mode:
authorSpencer Williams <spnw@plexwave.org>2025-07-06 17:23:15 -0400
committerSpencer Williams <spnw@plexwave.org>2025-07-06 17:23:15 -0400
commit62387d60e68a0c6c92395eaff6b81beb88c34a50 (patch)
tree85083f99ebbb84faf8da32a73cf56e9b797a5beb /lisp/seam.el
parent2e1ae69f61449f74f816176d92bd790fbd9dc358 (diff)
Remove redundant HTML file deletion code
Diffstat (limited to 'lisp/seam.el')
-rw-r--r--lisp/seam.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/seam.el b/lisp/seam.el
index 4cc21e7..46a9824 100644
--- a/lisp/seam.el
+++ b/lisp/seam.el
@@ -304,9 +304,7 @@ completion prompt is given to choose the type."
(defun seam-post-save-or-rename (old new &optional previous-links-from-file slug-or-title-changed)
(unless (string= old new)
(seam-update-links old new)
- (seam-delete-html-files-for-note old)
- (dolist (dir (seam-html-directories))
- (delete-file (file-name-concat dir (concat (file-name-base old) ".html")))))
+ (seam-delete-html-files-for-note old))
(seam-export-note new)
(let* ((current-links (seam-get-links-from-file new))
(added-links (cl-set-difference current-links