branch: externals/detached
commit 74a1cfd4cc1660259ac5cbfe6b72f83c9b28706e
Author: Niklas Eklund <[email protected]>
Commit: Niklas Eklund <[email protected]>

    Update to use locate-user-emacs-file
---
 detached.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/detached.el b/detached.el
index c67a00c970..fef8f3ec42 100644
--- a/detached.el
+++ b/detached.el
@@ -58,13 +58,13 @@
 ;;;;; Customizable
 
 (defcustom detached-session-directory
-  (expand-file-name "detached/sessions" user-emacs-directory)
+  (locate-user-emacs-file "detached/sessions")
   "The directory to store sessions."
   :type 'string
   :group 'detached)
 
 (defcustom detached-db-directory
-  (expand-file-name "detached" user-emacs-directory)
+  (locate-user-emacs-file "detached")
   "The directory to store the `detached' database."
   :type 'string
   :group 'detached)

Reply via email to