From ecb6a635b9ab5f57e21794422e6890c7fe9bf1d7 Mon Sep 17 00:00:00 2001 From: Phuntsok Drak-pa Date: Wed, 21 Aug 2019 20:36:55 +0200 Subject: [PATCH] moved `required` --- .spacemacs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.spacemacs b/.spacemacs index 91a3253..6c7e87d 100644 --- a/.spacemacs +++ b/.spacemacs @@ -597,6 +597,8 @@ See the header of this file for more information." This function is called only while dumping Spacemacs configuration. You can `require' or `load' the libraries of your choice that will be included in the dump." + (with-temp-buffer (org-mode)) + (require 'org-projectile) ) (defun dotspacemacs/user-config () @@ -944,7 +946,6 @@ So a typical ID could look like \"Org-4nd91V40HI\"." (with-eval-after-load 'org-agenda - (require 'org-projectile) (mapcar '(lambda (file) (when (file-exists-p file) (push file org-agenda-files)))