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

    Update default session directory
    
    Put the sessions in subdirectory named sessions so that they are not
    put on the same level as the database and emacsen file.
---
 detached.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/detached.el b/detached.el
index 5f05c39e60..629c48f3fd 100644
--- a/detached.el
+++ b/detached.el
@@ -59,12 +59,14 @@
 
 ;;;;; Customizable
 
-(defcustom detached-session-directory (expand-file-name "detached" 
user-emacs-directory)
+(defcustom detached-session-directory
+  (expand-file-name "detached/sessions" user-emacs-directory)
   "The directory to store sessions."
   :type 'string
   :group 'detached)
 
-(defcustom detached-db-directory (expand-file-name "detached" 
user-emacs-directory)
+(defcustom detached-db-directory
+  (expand-file-name "detached" user-emacs-directory)
   "The directory to store the `detached' database."
   :type 'string
   :group 'detached)

Reply via email to