From 62387d60e68a0c6c92395eaff6b81beb88c34a50 Mon Sep 17 00:00:00 2001 From: Spencer Williams Date: Sun, 6 Jul 2025 17:23:15 -0400 Subject: Remove redundant HTML file deletion code --- lisp/seam.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lisp') 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 -- cgit v1.2.3