From 1a8c9533ac9c40064ea7b274a149d51c4181b238 Mon Sep 17 00:00:00 2001 From: Daniel Kraus Date: Mon, 25 Feb 2019 13:07:47 +0000 Subject: [PATCH] Make lsp-java-workspace-cache-dir use workspace-dir by default This makes it a tiny bit easier if you want to customize the workspace path as you only have to set 1 instead of 2 variables. --- lsp-java.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsp-java.el b/lsp-java.el index 82d7fc2..4e81e33 100644 --- a/lsp-java.el +++ b/lsp-java.el @@ -65,7 +65,7 @@ The slash is expected at the end." :risky t :type 'directory) -(defcustom lsp-java-workspace-cache-dir (expand-file-name (locate-user-emacs-file "workspace/.cache/")) +(defcustom lsp-java-workspace-cache-dir (expand-file-name ".cache/" lsp-java-workspace-dir) "LSP java workspace cache directory." :group 'lsp-java :risky t