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:
parent
893c9e2249
commit
b3f2604de1
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue