refactor(lib): deprecate doom-dir

This function never really added much value over doom-path or
file-name-concat, so I'm phasing it out.
This commit is contained in:
Henrik Lissner 2022-09-06 21:12:16 +02:00
parent f66d9e1f0e
commit e986d6bef9
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
3 changed files with 4 additions and 9 deletions

View file

@ -119,7 +119,7 @@ in."
(let* ((xdg-dir (concat (or (getenv "XDG_CONFIG_HOME")
"~/.config")
"/doom/"))
(doom-dir (or (getenv "DOOMDIR")
(doom-path (or (getenv "DOOMDIR")
"~/.doom.d/"))
(dir (if (file-directory-p xdg-dir)
xdg-dir