From: lorniu/sz Date: Sun, 26 Dec 2021 10:37:14 +0000 (+0800) Subject: Use `locate-user-emacs-file` instead of `concat` X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~116 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=51fc8fc3d2ea241dc0c7982bb43ed4e1f128f363;p=emacs.git Use `locate-user-emacs-file` instead of `concat` * eglot.el (eglot--eclipse-jdt-contact): Use locate-user-emacs-file. Copyright-paperwork-exempt: Yes --- 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