diff options
author | Kyle Meyer <kyle@kyleam.com> | 2022-12-31 12:06:19 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2024-01-22 00:02:53 -0500 |
commit | bddcf8d018f487541860a74f4f46ab2b4e6ba427 (patch) | |
tree | bc6b603a592ee6535704c5244ad4159a9e9c7650 | |
parent | aa87c87aef7803511ae550c4d17a9eeba64af790 (diff) | |
download | emacs.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.el | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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)) |