From 51fc8fc3d2ea241dc0c7982bb43ed4e1f128f363 Mon Sep 17 00:00:00 2001 From: lorniu/sz Date: Sun, 26 Dec 2021 18:37:14 +0800 Subject: [PATCH] Use `locate-user-emacs-file` instead of `concat` * eglot.el (eglot--eclipse-jdt-contact): Use locate-user-emacs-file. Copyright-paperwork-exempt: Yes --- lisp/progmodes/eglot.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 19091e8c3e7..0f31da99844 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -3013,8 +3013,8 @@ If INTERACTIVE, prompt user for details." (t "config_linux")))) (workspace (expand-file-name (md5 (project-root (eglot--current-project))) - (concat user-emacs-directory - "eglot-eclipse-jdt-cache")))) + (locate-user-emacs-file + "eglot-eclipse-jdt-cache")))) (unless jar (setq jar (cl-find-if #'is-the-jar -- 2.39.2