summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-21 01:28:42 -0400
committerbd <bdunahu@operationnull.com>2025-04-21 01:28:42 -0400
commitcc8630808be85d71dfa636a4d71dd17044e68cf7 (patch)
treef619b504ea6f73368962cc323521f1e03fba672b /.config/emacs
parentb2f25b8c8a4da41d4b916cb337855acb1693faf8 (diff)
Add package declaration for denote-journal
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/modules/bd--notes.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/.config/emacs/modules/bd--notes.el b/.config/emacs/modules/bd--notes.el
index 17a6b63..70bc3f8 100644
--- a/.config/emacs/modules/bd--notes.el
+++ b/.config/emacs/modules/bd--notes.el
@@ -37,11 +37,9 @@ then pastes the active region."
((dired-mode . denote-dired-mode-in-directories))
:bind (("C-c d d" . 'denote)
("C-c d f" . 'denote-open-or-create)
- ("C-c d j" . 'denote-journal-extras-new-or-existing-entry)
:map org-mode-map
("C-c l" . 'denote-link))
:config
- (require 'denote-journal-extras)
(defconst bd/denote-skribe-front-matter
"(post
@@ -65,9 +63,13 @@ KEYWORDS is a list of strings."
"emacs" "programs" "mem")
denote-directory (expand-file-name "~/dc/")
denote-prompts '(title file-type keywords)
- denote-dired-directories (list denote-directory)
- denote-journal-extras-directory (expand-file-name "~/dc/log")
- denote-journal-extras-title-format 'day-date-month-year))
+ denote-dired-directories (list denote-directory)))
+
+(use-package denote-journal
+ :bind (("C-c d j" . 'denote-journal-new-or-existing-entry))
+ :config
+ (setopt denote-journal-directory (expand-file-name "~/dc/log")
+ denote-journal-title-format 'day-date-month-year))
(provide 'bd--notes)