mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Resolve symlinks in doom-emacs-dir
Shaves a little time off startup on slower drives.
This commit is contained in:
@ -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/")
|
||||||
|
Reference in New Issue
Block a user