home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit b2696d6c5c8c0062e1f427316ce27cb4d66f1748
parent 94a827fdeb9968abf8223e77ab2ae465dd206663
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Mon,  8 Jul 2024 18:18:10 +0200

tools/emacs: require denote-* at init…

I probably need to refine this, but for now this works.

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-org.el | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tools/emacs/config/config-org.el b/tools/emacs/config/config-org.el @@ -305,11 +305,12 @@ file which do not already have one." (denote-date-prompt-denote-date-prompt-use-org-read-date t) (denote-prompts '(subdirectory title keyword)) :hook (dired-mode . denote-dired-mode) - :config - (denote-rename-buffer-mode 1) + :init (require 'denote-org-dblock) (require 'denote-org-extras) (require 'denote-journal-extras) + :config + (denote-rename-buffer-mode 1) (setq denote-journal-extras-directory org-journal-dir denote-journal-extras-title-format 'day-date-month-year) (with-eval-after-load 'org-capture