Resolve symlinks in doom-emacs-dir
Shaves a little time off startup on slower drives.
This commit is contained in:
parent
eb0ae8622c
commit
3e4c02f92f
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ decrease this. If you experience stuttering, increase this.")
|
||||||
(defconst IS-BSD (or IS-MAC (eq system-type 'berkeley-unix)))
|
(defconst IS-BSD (or IS-MAC (eq system-type 'berkeley-unix)))
|
||||||
|
|
||||||
;;; Directories/files
|
;;; Directories/files
|
||||||
(defvar doom-emacs-dir user-emacs-directory
|
(defvar doom-emacs-dir
|
||||||
|
(eval-when-compile (file-truename user-emacs-directory))
|
||||||
"The path to the currently loaded .emacs.d directory. Must end with a slash.")
|
"The path to the currently loaded .emacs.d directory. Must end with a slash.")
|
||||||
|
|
||||||
(defvar doom-core-dir (concat doom-emacs-dir "core/")
|
(defvar doom-core-dir (concat doom-emacs-dir "core/")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue