emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 1079beb858 017/355: Add todo about file deletion


From: ELPA Syncer
Subject: [elpa] externals/denote 1079beb858 017/355: Add todo about file deletion post org-capture
Date: Sun, 26 Jun 2022 23:57:56 -0400 (EDT)

branch: externals/denote
commit 1079beb8587734e123823b82349f1a64d160eada
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add todo about file deletion post org-capture
---
 denote.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/denote.el b/denote.el
index 9af671949a..40932af173 100644
--- a/denote.el
+++ b/denote.el
@@ -326,6 +326,9 @@ sample template.  We will eventually have a manual."
     (denote--path title keywords)
     (denote--prepare-note denote-last-title denote-last-keywords 
denote-last-path)
     (denote--keywords-add-to-history denote-last-keywords)
+    ;; TODO 2022-06-05: Is there a better way to set up this hook?
+    ;; Alternatively, can we prevent the creation of a file when the
+    ;; capture is aborted?
     (add-hook 'org-capture-after-finalize-hook 
#'denote-org-capture-delete-empty-file)
     (concat denote-last-front-matter denote-org-capture-specifiers)))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]