commit 445bbf7d191cbfc9f4ee60ac3bcd68ab40dd8843 from: Lukas Henkel date: Sun Aug 31 12:11:35 2025 UTC Fix org config commit - c4793b1b11b638e21c2ed67c4bdf851ab6f97519 commit + 445bbf7d191cbfc9f4ee60ac3bcd68ab40dd8843 blob - 56eff425ac1fa578d83a6663d07d0c96e024ed33 blob + 1feb8a72f48d55e3f40e0ec763601d421b447a7f --- init.el +++ init.el @@ -489,25 +489,17 @@ `(("." . ,backup-dir)))) (let* ((dir (expand-file-name "org" lh/dir-documents)) - (roam-dir (expand-file-name "notes" dir))) + (notes-dir (expand-file-name "notes" dir))) (unless (file-exists-p dir) (make-directory dir t)) - (unless (file-exists-p roam-dir) - (make-directory roam-dir t)) - (customize-set-value - 'org-directory - dir) - (customize-set-value - 'org-agenda-files - (list dir)) - (customize-set-value - 'org-roam-directory - roam-dir) - (with-eval-after-load "org" - (setq org-capture-templates - `(("g" "GTD Inbox" entry - (file ,(expand-file-name "inbox.org" dir)) - "* %?"))))) + (unless (file-exists-p notes-dir) + (make-directory notes-dir t)) + (setopt org-directory dir + org-agenda-files (list dir) + denote-directory notes-dir + org-capture-templates `(("i" "Inbox" entry + (file ,(expand-file-name "inbox.org" dir)) + "* %?")))) (customize-set-value 'dired-guess-shell-alist-user