From b3f2604de1f400d31e3c45c40b96fca3bdcee000 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 28 May 2019 07:56:41 -0700 Subject: [PATCH] Expand filenames with oni-data-dir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘lsp-java’ doesn’t do this itself, so it made a ‘~’ directory in my project folder. --- oni-data-dir.el | 5 +++-- 1 file 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 ;; 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