aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2019-05-28 07:56:41 -0700
committerGravatar Tom Willemse2019-05-28 07:56:41 -0700
commitb3f2604de1f400d31e3c45c40b96fca3bdcee000 (patch)
treebe978e4540bc3e2f46aa66eb275ee9874f422e1b
parent893c9e22492fc2c4a42a433d2cedd97040604965 (diff)
downloademacs-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.
-rw-r--r--oni-data-dir.el5
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