summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa@gaiwan.org2024-06-15 23:03:52 +0000
committernoa@gaiwan.org2024-06-15 23:03:52 +0000
commitf5719cc1ec188e34500b70ac006a937bcaa908fc (patch)
tree866f2771c4161820a749f8058d2b20687fbf0cc4 /emacs
parentbf6dd99d8f7c2718cad89b8479abbd01db33fd25 (diff)
Move org-contacts config after org config so it's set up properly
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/emacs/init.el b/emacs/init.el
index c9f5c7b..f29e206 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -274,11 +274,6 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 ;; I also want to make the completion at point function a bit more friendly than the default, so i ask consult to provide the completion functionality.
 (setopt completion-in-region-function 'consult-completion-in-region)
 
-(use-package org-contacts :ensure t :pin gnu)
-(setopt org-contacts-files org-agenda-files)
-;; Org contacts seems to require birthdays to have a year.  However, i don't know the year of a lot of people's birthdays, so i set the year to 0000.  This looks bad when the birthday comes up in the agenda.  I figured that i don't usually need to know how old someone is going to be, so i change the format of how the birthday appears in the agenda so that i don't get the wrong age.
-(setopt org-contacts-birthday-format "Birthday: %l")
-
 ;; select the help window so that i can easily close it again with q
 (setopt help-window-select t)
 
@@ -350,6 +345,11 @@ The misspelled word is taken from OVERLAY.  WORD is the corrected word."
 (global-set-key (kbd "C-c c") #'org-capture)
 (global-set-key (kbd "C-c a") #'org-agenda)
 
+(use-package org-contacts :ensure t :pin gnu)
+(setopt org-contacts-files org-agenda-files)
+;; Org contacts seems to require birthdays to have a year.  However, i don't know the year of a lot of people's birthdays, so i set the year to 0000.  This looks bad when the birthday comes up in the agenda.  I figured that i don't usually need to know how old someone is going to be, so i change the format of how the birthday appears in the agenda so that i don't get the wrong age.
+(setopt org-contacts-birthday-format "Birthday: %l")
+
 (use-package org-modern :ensure t)
 (add-hook 'org-mode-hook #'org-modern-mode)
 ;; (add-hook 'org-agenda-finalize-hook #'org-modern-agenda)