summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el
index 0303079..f144f85 100644
--- a/init.el
+++ b/init.el
@@ -312,7 +312,7 @@
(after 'org-agenda
(setq km/org-agenda-file-directory "~/notes/agenda/"
org-agenda-files (list km/org-agenda-file-directory))
- (add-hook 'org-agenda-mode-hook #'km/org-agenda-cd-and-read-dir-locals)
+ (add-hook 'org-agenda-finalize-hook #'km/org-agenda-cd-and-read-dir-locals)
(add-hook 'org-agenda-finalize-hook #'km/org-agenda-store-current-span))
(after 'ox-md
(advice-add 'org-md-paragraph :filter-return #'km/org-md-fill-string))