From 7cba6b25f507c78f2fc1e20a3f8f9c51a1638ce7 Mon Sep 17 00:00:00 2001 From: Bobby Bingham Date: Sun, 14 Oct 2018 21:37:46 -0500 Subject: emacs: initialize some variables --- emacs/.emacs.d/org-mode.el | 5 +++++ 1 file changed, 5 insertions(+) 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)) -- cgit v1.2.3