[emcas] Implement Boris' org-agenda speed up tricks!

This commit is contained in:
2023-01-26 19:26:46 -05:00
parent fb90c6c102
commit a6b362a05e
3 changed files with 171 additions and 2 deletions

View File

@ -138,11 +138,19 @@
html-mode
latex-mode))
(load! "+agenda-fix")
(defun vulpea-agenda-files-update (&rest _)
"Update the value of `org-agenda-files'."
(setq org-agenda-files (vulpea-project-files)))
(advice-add 'org-agenda :before #'vulpea-agenda-files-update)
(advice-add 'org-todo-list :before #'vulpea-agenda-files-update)
(add-hook 'org-mode-hook #'doom-disable-line-numbers-h)
(after! org
(setq org-directory (expand-file-name "~/var/org/")
org-agenda-files (append '("~/var/org"))
org-ellipsis ""
org-image-actual-width '(600)
org-fontify-quote-and-verse-blocks t