From a4daabd42cc19595521b88b519dbd148e2bd1f29 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 12 Sep 2020 11:40:01 +0200 Subject: [PATCH] Move private directory creation to corresponding config section --- init.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/init.el b/init.el index e5e1ed9..08299a2 100644 --- a/init.el +++ b/init.el @@ -63,6 +63,11 @@ (add-to-list 'load-path (expand-file-name "site-lisp" emacs-d)) +;; Ensure that ~/.emacs.d/private exists, because we want to store data there +(let ((private-data-dir (expand-file-name "private/" emacs-d))) + (unless (file-directory-p private-data-dir) + (make-directory private-data-dir))) + ;; * Mode activation @@ -346,11 +351,6 @@ ;; * General configuration -;; Ensure that ~/.emacs.d/private exists, because we want to store data there -(let ((private-data-dir (expand-file-name "private/" emacs-d))) - (unless (file-directory-p private-data-dir) - (make-directory private-data-dir))) - (use-package cl-lib) (use-package subr-x)