diff options
author | Sebastian Wiesner <swiesner@lunaryorn.com> | 2015-01-07 11:24:43 +0100 |
---|---|---|
committer | Sebastian Wiesner <swiesner@lunaryorn.com> | 2015-01-07 11:24:43 +0100 |
commit | 8b6487e1158b200e514621b24f02f86cb87d64b8 (patch) | |
tree | 92ff31a6e33033c44e882672fc5c2ca44d1c78a9 /sx-cache.el | |
parent | 5a06503d4ea19075fce281924abd585d1f20dddc (diff) |
Use locate-user-emacs-file
It's the standard function for this purpose.
Diffstat (limited to 'sx-cache.el')
-rw-r--r-- | sx-cache.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sx-cache.el b/sx-cache.el index 3a5bd3b..3e8e08f 100644 --- a/sx-cache.el +++ b/sx-cache.el @@ -34,8 +34,7 @@ ;;; Code: -(defcustom sx-cache-directory - (expand-file-name ".sx" user-emacs-directory) +(defcustom sx-cache-directory (locate-user-emacs-file ".sx") "Directory containing cached data." :type 'directory :group 'sx) |