summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/org-mode.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/org-mode.el b/emacs/.emacs.d/org-mode.el
index e80401c..cc996ec 100644
--- a/emacs/.emacs.d/org-mode.el
+++ b/emacs/.emacs.d/org-mode.el
@@ -1,5 +1,10 @@
(require 'org-install)
+; initialize these to empty lists so config files we reference can use 'add-to-list',
+; rather than replacing the whole list and possibly trampling on another config file.
+(setq org-agenda-files ())
+(setq org-capture-templates ())
+
(load-user-file "org-mode.local.el")
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))