Remove doom-elpa-dir variable
And just use package-user-dir. No need for two variable when one will do.
This commit is contained in:
parent
22e3dfa677
commit
45240699e0
4 changed files with 5 additions and 9 deletions
|
@ -61,9 +61,6 @@ dependencies or long-term shared data. Must end with a slash.")
|
|||
|
||||
Use this for files that change often, like cache files. Must end with a slash.")
|
||||
|
||||
(defvar doom-elpa-dir (concat doom-local-dir "elpa/")
|
||||
"Where package.el plugins (and their caches) are stored. Must end with a slash.")
|
||||
|
||||
(defvar doom-docs-dir (concat doom-emacs-dir "docs/")
|
||||
"Where Doom's documentation files are stored. Must end with a slash.")
|
||||
|
||||
|
@ -517,8 +514,7 @@ to least)."
|
|||
;; Create all our core directories to quell file errors
|
||||
(dolist (dir (list doom-local-dir
|
||||
doom-etc-dir
|
||||
doom-cache-dir
|
||||
doom-elpa-dir))
|
||||
doom-cache-dir))
|
||||
(unless (file-directory-p dir)
|
||||
(make-directory dir 'parents)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue