emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/crdt 8b7786a 76/80: Use xdg-data-home for crdt-tuntox-k


From: ELPA Syncer
Subject: [elpa] externals/crdt 8b7786a 76/80: Use xdg-data-home for crdt-tuntox-key-path
Date: Sat, 28 Aug 2021 10:57:45 -0400 (EDT)

branch: externals/crdt
commit 8b7786a0989ec77332a176be18b92f0fea31ea1d
Author: Qiantan Hong <qhong@mit.edu>
Commit: Qiantan Hong <qhong@mit.edu>

    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

[Prev in Thread] Current Thread [Next in Thread]