branch: externals/denote commit 5f6b2a176f2758b7e303a3cead2405d01b576529 Author: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com> Commit: Jean-Philippe Gagné Guay <jeanphilippe...@gmail.com>
Make denote-org-capture use the same id in the file name and the front matter --- denote.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/denote.el b/denote.el index 9f6af80d75..c953ae6b21 100644 --- a/denote.el +++ b/denote.el @@ -4799,8 +4799,7 @@ Consult the manual for template samples." (denote--creation-prepare-note-data title keywords 'org directory date template signature)) (id (denote--find-first-unused-id (denote-get-identifier date))) (front-matter (denote--format-front-matter - title (denote--date nil 'org) keywords - (denote-get-identifier) 'org))) + title (denote--date nil 'org) keywords id 'org))) (setq denote-last-path (denote-format-file-name directory id keywords title ".org" signature)) (when (file-regular-p denote-last-path)