diff options
author | Tom Willemse | 2019-05-28 07:56:41 -0700 |
---|---|---|
committer | Tom Willemse | 2019-05-28 07:56:41 -0700 |
commit | b3f2604de1f400d31e3c45c40b96fca3bdcee000 (patch) | |
tree | be978e4540bc3e2f46aa66eb275ee9874f422e1b /oni-data-dir.el | |
parent | 893c9e22492fc2c4a42a433d2cedd97040604965 (diff) | |
download | emacs-config-b3f2604de1f400d31e3c45c40b96fca3bdcee000.tar.gz emacs-config-b3f2604de1f400d31e3c45c40b96fca3bdcee000.zip |
Expand filenames with oni-data-dir
‘lsp-java’ doesn’t do this itself, so it made a ‘~’ directory in my project
folder.
Diffstat (limited to 'oni-data-dir.el')
-rw-r--r-- | oni-data-dir.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/oni-data-dir.el b/oni-data-dir.el index 15af240..9bb1b5f 100644 --- a/oni-data-dir.el +++ b/oni-data-dir.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 20190227232656 +;; Version: 20190528072813 ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -31,7 +31,8 @@ (defun oni-data-dir-locate (filename) "Return the location of FILENAME inside the data directory." - (concat user-emacs-directory oni-data-dir--name "/" filename)) + (expand-file-name + (concat user-emacs-directory oni-data-dir--name "/" filename))) (provide 'oni-data-dir) ;;; oni-data-dir.el ends here |