From f4b1e329fc6e3878bfff648649f5d654b1f2808c Mon Sep 17 00:00:00 2001 From: Spencer Williams Date: Sun, 6 Jul 2025 18:00:09 -0400 Subject: Aggressively delete old HTML files on export This is to avoid keeping around old HTML files that are no longer wanted after changing seam-export-alist. --- lisp/seam-export.el | 1 + 1 file changed, 1 insertion(+) (limited to 'lisp/seam-export.el') diff --git a/lisp/seam-export.el b/lisp/seam-export.el index d0f59cc..71a7921 100644 --- a/lisp/seam-export.el +++ b/lisp/seam-export.el @@ -314,6 +314,7 @@ notes)." (error "Nothing to export. Please configure `seam-export-alist'.")) (dolist (dir (seam-note-subdirectories)) (dolist (file (directory-files dir t seam-note-file-regexp)) + (seam-delete-html-files-for-note file) (seam-export-note file)))) (provide 'seam-export) -- cgit v1.2.3