emacs-diffs
[Top][All Lists]
Advanced

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

feature/eglot2emacs 51fc8fc3d2 002/120: Use `locate-user-emacs-file` ins


From: João Távora
Subject: feature/eglot2emacs 51fc8fc3d2 002/120: Use `locate-user-emacs-file` instead of `concat`
Date: Thu, 20 Oct 2022 07:16:44 -0400 (EDT)

branch: feature/eglot2emacs
commit 51fc8fc3d2ea241dc0c7982bb43ed4e1f128f363
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
---
 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 19091e8c3e..0f31da9984 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



reply via email to

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