branch: externals/crdt
commit 8b7786a0989ec77332a176be18b92f0fea31ea1d
Author: Qiantan Hong <[email protected]>
Commit: Qiantan Hong <[email protected]>

    Use xdg-data-home for crdt-tuntox-key-path
---
 crdt.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/crdt.el b/crdt.el
index 2f50714..3d313f7 100644
--- a/crdt.el
+++ b/crdt.el
@@ -30,6 +30,7 @@
 
 ;;; Customs
 
+(require 'xdg)
 (require 'cl-lib)
 (require 'subr-x)
 (require 'url)
@@ -64,7 +65,7 @@
   "Path to the tuntox binary."
   :type 'file)
 
-(defcustom crdt-tuntox-key-path (expand-file-name "~")
+(defcustom crdt-tuntox-key-path (xdg-data-home)
   "Path to save tuntox's private key."
   :type 'directory)
 

Reply via email to