aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/init-editing-utils.el2
-rw-r--r--modules/init-modeline.el2
-rw-r--r--modules/init-utils.el4
3 files changed, 4 insertions, 4 deletions
diff --git a/modules/init-editing-utils.el b/modules/init-editing-utils.el
index 35e34d1..be6d047 100644
--- a/modules/init-editing-utils.el
+++ b/modules/init-editing-utils.el
@@ -76,7 +76,7 @@
(global-undo-tree-mode 1))
;;----------------------------------------------------------------------------
-(load-file "~/.emacs.d/modules/lib/myemacs.el")
+(load-file (concat user-emacs-directory "/modules/lib/myemacs.el"))
(provide 'init-editing-utils)
diff --git a/modules/init-modeline.el b/modules/init-modeline.el
index 4444a09..5f69d87 100644
--- a/modules/init-modeline.el
+++ b/modules/init-modeline.el
@@ -47,7 +47,7 @@
(global-set-key (kbd "M-%") 'anzu-query-replace)
(global-set-key (kbd "s-<SPC>") 'anzu-query-replace))
-(load-file "~/.emacs.d/modules/lib/myemacs.el")
+(load-file (concat user-emacs-directory "/modules/lib/myemacs.el"))
(provide 'init-modeline)
;; End:
diff --git a/modules/init-utils.el b/modules/init-utils.el
index ffcdd9f..e2cb42e 100644
--- a/modules/init-utils.el
+++ b/modules/init-utils.el
@@ -13,7 +13,7 @@ read the .el files"
(mapc load-it (directory-files dir nil "\\.el$"))))
;; Load lib functions
-(load-directory (expand-file-name "~/.emacs.d/modules/lib/" user-emacs-directory))
+(load-directory (concat user-emacs-directory "/modules/lib/"))
;; This is borrowed from https://github.com/purcell/emacs.d/blob/master/lisp/init-utils.el by Steve Purcell but I have added some stuff.
(if (fboundp 'with-eval-after-load)
@@ -25,7 +25,7 @@ read the .el files"
'(progn ,@body))))
;; Elapsed time
-(load-file "~/.emacs.d/modules/lib/myemacs.el")
+(load-file (concat user-emacs-directory "/modules/lib/myemacs.el"))
(provide 'init-utils)
;;; init-utils.el ends here