1
0
Fork 0

Expand filenames with oni-data-dir

‘lsp-java’ doesn’t do this itself, so it made a ‘~’ directory in my project
folder.
This commit is contained in:
Tom Willemse 2019-05-28 07:56:41 -07:00
parent 893c9e2249
commit b3f2604de1

View file

@ -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