From b2978f58cdd6369548dcefeb9bb0c508587262b2 Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 4 Jan 2024 19:18:47 -0700 Subject: Proper expand-file-name form --- .config/emacs/init.el | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to '.config/emacs/init.el') 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) -- cgit v1.2.3