diff options
author | Yann Herklotz <git@yannherklotz.com> | 2022-05-03 14:57:25 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2022-05-03 14:57:25 +0100 |
commit | 92a070f23af5b9de2acea2cadcc9dac892a24467 (patch) | |
tree | e9a809104eeca1e9b55e760ede9ad7d9421d4f76 | |
parent | 4048bf9e1be7ab759696a9541eec8f435359bcf3 (diff) | |
download | org-zettelkasten-92a070f23af5b9de2acea2cadcc9dac892a24467.tar.gz org-zettelkasten-92a070f23af5b9de2acea2cadcc9dac892a24467.zip |
Add export date to notes
-rw-r--r-- | org-zettelkasten.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." |