aboutsummaryrefslogtreecommitdiff
path: root/lisp/seam-export.el
diff options
context:
space:
mode:
authorSpencer Williams <spnw@plexwave.org>2025-07-06 20:01:25 -0400
committerSpencer Williams <spnw@plexwave.org>2025-07-06 20:10:34 -0400
commit3f10699d75dafa7266340b8eb0a2e0fb12b6540a (patch)
tree0bde0709bdfba5315d229c7b35df3bc1b99ad1a1 /lisp/seam-export.el
parentf4b1e329fc6e3878bfff648649f5d654b1f2808c (diff)
Use helper to retrieve slugs from filenames
Diffstat (limited to 'lisp/seam-export.el')
-rw-r--r--lisp/seam-export.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/seam-export.el b/lisp/seam-export.el
index 71a7921..b5d7046 100644
--- a/lisp/seam-export.el
+++ b/lisp/seam-export.el
@@ -239,7 +239,7 @@ notes)."
(defun seam-export--note-to-html (note-file html-directory)
(seam-ensure-directory-exists html-directory)
(let ((html-file (file-name-concat html-directory
- (concat (file-name-base note-file) ".html")))
+ (concat (seam-get-slug-from-file-name note-file) ".html")))
(modified (file-attribute-modification-time
(file-attributes note-file))))
(with-temp-buffer