commit 62387d60e68a0c6c92395eaff6b81beb88c34a50
parent 2e1ae69f61449f74f816176d92bd790fbd9dc358
Author: Spencer Williams <spnw@plexwave.org>
Date: Sun, 6 Jul 2025 17:23:15 -0400
Remove redundant HTML file deletion code
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git 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