summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
diff options
context:
space:
mode:
authorbd <bdunahu@gmail.com>2024-01-04 19:18:47 -0700
committerbd <bdunahu@gmail.com>2024-01-04 19:18:47 -0700
commitb2978f58cdd6369548dcefeb9bb0c508587262b2 (patch)
treeaaa2aac4c328e5549a8ce367a5bb245345003159 /.config/emacs/init.el
parent34216300631031458f46f9ce587ca7bbc45a81c3 (diff)
Proper expand-file-name form
Diffstat (limited to '.config/emacs/init.el')
-rw-r--r--.config/emacs/init.el17
1 files changed, 8 insertions, 9 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el
index 99fb0f4..4fe9b04 100644
--- a/.config/emacs/init.el
+++ b/.config/emacs/init.el
@@ -6,16 +6,15 @@
(setopt gc-cons-threshold 50000000)
;;;; do not store customized setting (automatic) here
-(setq custom-file "/home/bdunahu/.config/emacs/custom.el")
+(setopt custom-file (expand-file-name "~/.config/emacs/custom.el"))
(load custom-file t)
-
-;;;; files are not segregated but not self-contained
-(load (expand-file-name "$HOME/.config/emacs/bd-default.el"))
-(load (expand-file-name "$HOME/.config/emacs/bd-org.el"))
-(load (expand-file-name "$HOME/.config/emacs/bd-emms.el"))
-(load (expand-file-name "$HOME/.config/emacs/bd-development.el"))
-(load (expand-file-name "$HOME/.config/emacs/bd-wm.el"))
-(load (expand-file-name "$HOME/.config/emacs/bd-mode-and-themes.el"))
+;;;; files are segregated but not self-contained
+(load (expand-file-name "~/.config/emacs/bd-default.el"))
+(load (expand-file-name "~/.config/emacs/bd-org.el"))
+(load (expand-file-name "~/.config/emacs/bd-emms.el"))
+(load (expand-file-name "~/.config/emacs/bd-development.el"))
+(load (expand-file-name "~/.config/emacs/bd-wm.el"))
+(load (expand-file-name "~/.config/emacs/bd-mode-and-themes.el"))
(setopt gc-cons-threshold 800000)