Don't make a fuss when agenda-files.el is missing
This commit is contained in:
parent
e0aae51561
commit
2700f2abf9
@ -84,8 +84,10 @@
|
||||
;; ------------------------------------------------------------------------
|
||||
;; Load agenda-files.
|
||||
;; ------------------------------------------------------------------------
|
||||
(let ((org-dir "~/Workspace/org/"))
|
||||
(load (concat org-dir "agenda-files.el"))))
|
||||
(let* ((org-dir "~/Workspace/org/")
|
||||
(file-list (concat org-dir "agenda-files.el")))
|
||||
(when (file-exists-p file-list)
|
||||
(load file-list))))
|
||||
|
||||
;; ------------------------------------------------------------------------
|
||||
;; Better header bullets
|
||||
|
Reference in New Issue
Block a user