From 2a9373ae38a0ca9a23207b52d817aecd18ec4bdf Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 28 Jan 2021 12:42:08 -0600 Subject: Change expand-file-name to locate-user-emacs-file --- init.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index 1ddb5f9..ae4ae9f 100644 --- a/init.el +++ b/init.el @@ -24,8 +24,7 @@ user-emacs-directory)) (config.el (concat config ".el")) (config.org (concat config ".org")) - (straight-org-dir (expand-file-name "straight/build/org" - user-emacs-directory))) + (straight-org-dir (locate-user-emacs-file "straight/build/org"))) ;; Okay, let's figure this out. ;; `and' evaluates each form, and returns nil on the first that ;; returns nil. `unless' only executes its body if the test -- cgit 1.4.1-21-gabe81