emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot 44504db1ea 28/33: Use `locate-user-emacs-file` in


From: Stefan Kangas
Subject: [elpa] externals/eglot 44504db1ea 28/33: Use `locate-user-emacs-file` instead of `concat`
Date: Sat, 8 Jan 2022 12:30:50 -0500 (EST)

branch: externals/eglot
commit 44504db1ea4eba0a4ac0515494a9dbdbf1020abb
Author: lorniu/sz <lorniu@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    Use `locate-user-emacs-file` instead of `concat`
    
    * eglot.el (eglot--eclipse-jdt-contact): Use locate-user-emacs-file.
    
    Copyright-paperwork-exempt: Yes
---
 eglot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eglot.el b/eglot.el
index 19091e8c3e..0f31da9984 100644
--- a/eglot.el
+++ b/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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]