Do not hard-code ~/emacs.d

Instead, use user-emacs-directory
This commit is contained in:
Jesús
2019-03-03 19:46:51 -05:00
parent ee86ebea76
commit 6457d54ec7
4 changed files with 5 additions and 5 deletions

View File

@@ -10,7 +10,7 @@
(error "This is made form Emacs >=24"))
(defconst emacs-start-time (current-time))
(add-to-list 'load-path (expand-file-name "~/.emacs.d/modules/" user-emacs-directory))
(add-to-list 'load-path (concat user-emacs-directory "modules"))
;;; Raise garbage collection threshold after init
(add-hook 'after-init-hook