diff options
author | Spencer Williams <spnw@plexwave.org> | 2025-07-06 17:23:15 -0400 |
---|---|---|
committer | Spencer Williams <spnw@plexwave.org> | 2025-07-06 17:23:15 -0400 |
commit | 62387d60e68a0c6c92395eaff6b81beb88c34a50 (patch) | |
tree | 85083f99ebbb84faf8da32a73cf56e9b797a5beb | |
parent | 2e1ae69f61449f74f816176d92bd790fbd9dc358 (diff) |
Remove redundant HTML file deletion code
-rw-r--r-- | lisp/seam.el | 4 |
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 |