summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2022-12-31 12:06:19 -0500
committerKyle Meyer <kyle@kyleam.com>2024-01-22 00:02:53 -0500
commitbddcf8d018f487541860a74f4f46ab2b4e6ba427 (patch)
treebc6b603a592ee6535704c5244ad4159a9e9c7650
parentaa87c87aef7803511ae550c4d17a9eeba64af790 (diff)
downloademacs.d-bddcf8d018f487541860a74f4f46ab2b4e6ba427.tar.gz
denote: Drop date from directory value
Setting denote-directory to the subdirectory for the current year means things like denote-link-backlinks can't find files for previous years. Go with the flat organization for now. If I end up wanting the year subdirectories, it's not too much of a hassle to move these to subdirectories later. (I could also adjust denote-prompts so that I can always choose the dated subdirectory, but that's annoying to have to choose every time.)
-rw-r--r--init.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/init.el b/init.el
index cd9bb3e..cfd5c19 100644
--- a/init.el
+++ b/init.el
@@ -1720,9 +1720,7 @@
("C-c d t" . denote-type)
("C-c d f" . km/find-file-with-denote-naming))
:config
- (setq denote-directory
- (expand-file-name (file-name-as-directory
- (format-time-string "~/notes/%Y"))))
+ (setq denote-directory (expand-file-name "~/notes"))
(setq denote-file-type 'text))