aboutsummaryrefslogtreecommitdiff
path: root/lisp/seam.el
diff options
context:
space:
mode:
authorSpencer Williams <spnw@plexwave.org>2025-07-11 16:45:34 -0400
committerSpencer Williams <spnw@plexwave.org>2025-07-11 16:49:13 -0400
commit037a20d6a621fc24576dbb4fb460b4b6cbcbc846 (patch)
tree4f24c8040a7f2f2d91934a906f5e902125bb1a27 /lisp/seam.el
parentb28940a44e41923836fe771ba9845a3e4cdf97e7 (diff)
Fix creating note via link open never makes draft
Diffstat (limited to 'lisp/seam.el')
-rw-r--r--lisp/seam.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/seam.el b/lisp/seam.el
index 2330b97..eb3037e 100644
--- a/lisp/seam.el
+++ b/lisp/seam.el
@@ -115,7 +115,7 @@ naming. Must be a function taking two arguments: TITLE and TYPE."
(org-mark-ring-push)
(if-let ((file (seam-lookup-slug path)))
(find-file file)
- (seam-create-note path nil t))
+ (seam-create-note path nil t (seam-draft-p path)))
(seam-set-buffer-name))
(defvar seam-note-file-regexp "\\`[^.].+\\.org\\'")