From 3389d7454e7e4ca743f0a19516552a79825170f9 Mon Sep 17 00:00:00 2001 From: Spencer Williams Date: Sun, 6 Jul 2025 20:20:15 -0400 Subject: Add draft support to title formatter --- lisp/seam-test.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lisp/seam-test.el') diff --git a/lisp/seam-test.el b/lisp/seam-test.el index 9ab1b22..3f8c4e5 100644 --- a/lisp/seam-test.el +++ b/lisp/seam-test.el @@ -44,7 +44,7 @@ (default-directory seam-test-directory) (seam-note-types '("private" "public")) (seam-default-note-type "private") - (seam-title-formatter (lambda (title _type) title)) + (seam-title-formatter (lambda (title _type _draft-p) title)) (seam-export-template-file nil) (seam-export-template-string seam-export-default-template-string) (seam-export-internal-link-class nil) @@ -206,7 +206,8 @@ (equal "[private] Note" (seam-test-with-notes ((seam-title-formatter - (lambda (title type) (format "[%s] %s" type title)))) + (lambda (title type _draft-p) + (format "[%s] %s" type title)))) ((note "Note")) (buffer-name note))))) -- cgit v1.2.3