branch: externals/oauth2
commit 33efe0b9c9dae94bb0e8fcd52372bc94c752c7e8
Author: Xiyue Deng <manp...@gmail.com>
Commit: Xiyue Deng <manp...@gmail.com>

    Use `locate-user-emacs-file' instead of concat user-emacs-directory
    
    * packages/oauth2/oauth2.el (oauth2-token-file): Use
    locate-user-emacs-file.
---
 oauth2.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oauth2.el b/oauth2.el
index c4b4d71585..0da4883bc3 100644
--- a/oauth2.el
+++ b/oauth2.el
@@ -56,7 +56,7 @@
                    
"https://git.savannah.gnu.org/cgit/emacs/elpa.git/tree/?h=externals/oauth2";)
   :link '(url-link :tag "ELPA" "https://elpa.gnu.org/packages/oauth2.html";))
 
-(defcustom oauth2-token-file (concat user-emacs-directory "oauth2.plstore")
+(defcustom oauth2-token-file (locate-user-emacs-file "oauth2.plstore")
   "File path where store OAuth tokens."
   :group 'oauth2
   :type 'file)

Reply via email to