config/doom/config: ignore missing org directory
This commit is contained in:
parent
783cfdbfe3
commit
82a47d789f
|
@ -180,7 +180,8 @@ Version 2019-11-04 2021-02-16"
|
|||
(if (file-exists-p box)
|
||||
(setq org-directory box
|
||||
default-directory org-directory
|
||||
org-roam-directory org-directory))
|
||||
org-roam-directory org-directory
|
||||
org-agenda-files (directory-files-recursively org-directory "\\`[^.]*\\'" 't)))
|
||||
)
|
||||
|
||||
(use-package! recentf
|
||||
|
@ -279,13 +280,6 @@ Version 2019-11-04 2021-02-16"
|
|||
org-log-into-drawer t
|
||||
org-treat-insert-todo-heading-as-state-change t)
|
||||
|
||||
(setq org-agenda-files (directory-files-recursively org-directory "\\`[^.]*\\'" 't))
|
||||
;(apply 'append
|
||||
; (mapcar
|
||||
; (lambda (directory) (directory-files-recursively (expand-file-name directory user-data-dir) org-agenda-file-regexp))
|
||||
; '("1-projects" "2-standards")
|
||||
; )))
|
||||
|
||||
;; https://stackoverflow.com/a/32353255/6723250
|
||||
(defun org-convert-csv-table (beg end)
|
||||
;; convert csv to org-table considering "12,12"
|
||||
|
|
Loading…
Reference in New Issue