From 92a070f23af5b9de2acea2cadcc9dac892a24467 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Tue, 3 May 2022 14:57:25 +0100 Subject: Add export date to notes --- org-zettelkasten.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org-zettelkasten.el b/org-zettelkasten.el index 6642c30..a5c364c 100644 --- a/org-zettelkasten.el +++ b/org-zettelkasten.el @@ -87,7 +87,8 @@ NEWHEADING: function used to create the heading and set the current (let* ((current-id (org-entry-get nil "CUSTOM_ID")) (next-id (funcall incr current-id))) (funcall newheading) - (org-set-property "CUSTOM_ID" next-id))) + (org-set-property "CUSTOM_ID" next-id) + (org-set-property "EXPORT_DATE" (format-time-string (org-time-stamp-format t t))))) (defun org-zettelkasten-create-next () "Create a heading at the same level as the current one." -- cgit