config/doom: localize org-agenda config
This commit is contained in:
parent
62de086fe2
commit
38c2f48a55
|
@ -180,10 +180,6 @@ Version 2019-11-04 2021-02-16"
|
||||||
(setq backup-directory-alist (list (cons "." (concat doom-cache-dir "backup/")))
|
(setq backup-directory-alist (list (cons "." (concat doom-cache-dir "backup/")))
|
||||||
custom-emacs-data-dir (expand-file-name "data" doom-private-dir))
|
custom-emacs-data-dir (expand-file-name "data" doom-private-dir))
|
||||||
|
|
||||||
(if (and org-directory (file-exists-p org-directory))
|
|
||||||
(setq default-directory org-directory
|
|
||||||
org-agenda-files (append (directory-files-recursively (expand-file-name "project/") "\\`[^.]*\\'" 't) (list (expand-file-name "inbox/")))))
|
|
||||||
|
|
||||||
(use-package! projectile
|
(use-package! projectile
|
||||||
:init
|
:init
|
||||||
(add-to-list 'projectile-ignored-projects (expand-file-name user-data-dir))
|
(add-to-list 'projectile-ignored-projects (expand-file-name user-data-dir))
|
||||||
|
|
|
@ -12,6 +12,13 @@
|
||||||
))
|
))
|
||||||
)
|
)
|
||||||
|
|
||||||
|
(if (and org-directory (file-exists-p org-directory))
|
||||||
|
(setq default-directory org-directory
|
||||||
|
org-agenda-files (append
|
||||||
|
(directory-files-recursively (expand-file-name "project/") "\\`[^.]*\\'" 't)
|
||||||
|
(list (expand-file-name "inbox/"))
|
||||||
|
)))
|
||||||
|
|
||||||
(use-package! recentf
|
(use-package! recentf
|
||||||
:config
|
:config
|
||||||
(add-to-list 'recentf-exclude "writing\\/tug")
|
(add-to-list 'recentf-exclude "writing\\/tug")
|
||||||
|
|
Loading…
Reference in New Issue