Move private directory creation to corresponding config section
This commit is contained in:
parent
085a57d281
commit
a4daabd42c
10
init.el
10
init.el
|
@ -63,6 +63,11 @@
|
||||||
|
|
||||||
(add-to-list 'load-path (expand-file-name "site-lisp" emacs-d))
|
(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
|
;; * Mode activation
|
||||||
|
|
||||||
|
@ -346,11 +351,6 @@
|
||||||
|
|
||||||
;; * General configuration
|
;; * 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 cl-lib)
|
||||||
(use-package subr-x)
|
(use-package subr-x)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue