Do not hard-code ~/emacs.d
Instead, use user-emacs-directory
This commit is contained in:
2
init.el
2
init.el
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user