summaryrefslogtreecommitdiff
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
authorBobby Bingham <koorogi@koorogi.info>2018-10-14 21:37:46 -0500
committerBobby Bingham <koorogi@koorogi.info>2019-01-11 19:39:55 -0600
commit7cba6b25f507c78f2fc1e20a3f8f9c51a1638ce7 (patch)
tree20769023a51453d932c6d1941170f35227ebf1bc /emacs/.emacs.d
parent1d2596c4e1fae0bd1bfe93664697b4933e7c7c26 (diff)
emacs: initialize some variables
Diffstat (limited to 'emacs/.emacs.d')
-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))