[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/eglot e5a9648 07/49: Fix #513: use `path-separator', no
From: |
Stefan Monnier |
Subject: |
[elpa] externals/eglot e5a9648 07/49: Fix #513: use `path-separator', not ":", in Eclipse/JDT custom code |
Date: |
Wed, 17 Mar 2021 18:41:43 -0400 (EDT) |
branch: externals/eglot
commit e5a9648beec6e83f5b4471261b07e1da6630da1d
Author: Augusto Stoffel <astoff@users.noreply.github.com>
Commit: GitHub <noreply@github.com>
Fix #513: use `path-separator', not ":", in Eclipse/JDT custom code
This is needed on Windows.
* eglot.el (eglot--eclipse-jdt-contact): Replace literal ":" by
`path-separator'.
---
eglot.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eglot.el b/eglot.el
index 6d51fc7..b8db7f9 100644
--- a/eglot.el
+++ b/eglot.el
@@ -2693,8 +2693,8 @@ If INTERACTIVE, prompt user for details."
"org\\.eclipse\\.equinox\\.launcher_.*\\.jar$"
(file-name-nondirectory path))
(file-exists-p path))))
- (let* ((classpath (or (getenv "CLASSPATH") ":"))
- (cp-jar (cl-find-if #'is-the-jar (split-string classpath ":")))
+ (let* ((classpath (or (getenv "CLASSPATH") path-separator))
+ (cp-jar (cl-find-if #'is-the-jar (split-string classpath
path-separator)))
(jar cp-jar)
(dir
(cond
@@ -2732,7 +2732,7 @@ If INTERACTIVE, prompt user for details."
(when (and interactive (not cp-jar)
(y-or-n-p (concat "Add path to the server program "
"to CLASSPATH environment variable?")))
- (setenv "CLASSPATH" (concat (getenv "CLASSPATH") ":" jar)))
+ (setenv "CLASSPATH" (concat (getenv "CLASSPATH") path-separator jar)))
(unless (file-directory-p workspace)
(make-directory workspace t))
(cons 'eglot-eclipse-jdt
- [elpa] externals/eglot 926d0594 01/49: Close #575: Use flex completion if available by default, (continued)
- [elpa] externals/eglot 926d0594 01/49: Close #575: Use flex completion if available by default, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 4c85df2 02/49: Close #212: Don't block in eglot-imenu if performing non-essential task, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 16bbf85 03/49: Fix #582: flex completion style is not available on Emacs < 27, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot ceac05c 05/49: Fix #593: Unbreak interactivee eglot--connect for complex contact specs, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 83cd785 12/49: Fix #365: Fix eglot-completion-at-point for multiple matches, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 9da9d69 04/49: C-u M-x eglot discards class guessed by eglot--guess-contact, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 51f1320 09/49: Skip downloading GNU ELPA deps on make check by default, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 6370a1c 10/49: Fix some of eglot-tests.el for new Eldoc library, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 8761f86 11/49: Unbreak eglot-dcase test, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 0c4daa4 13/49: Fix #531: mention M-x eldoc as preferred documentation command, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot e5a9648 07/49: Fix #513: use `path-separator', not ":", in Eclipse/JDT custom code,
Stefan Monnier <=
- [elpa] externals/eglot e6ca70c 14/49: Close #599: add rnix-lsp server for nix-mode, community suggestion, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 1f2b024 23/49: Close #605: Support activeParameter property for SignatureInformation, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 2fc0db8 33/49: Fix #467: make eglot-ignored-server-capabilites defcustom a set, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 1a54fc0 40/49: Per #627: URIfy better, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 7f2e680 38/49: Fix #627: handle empty actions array in window/showMessageRequest, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot d00dfe3 08/49: Fix #592: run exit-function only for finished completion, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 8305eed 18/49: * eglot.el (eglot): Tweak docstring grammar., Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 50b0e84 22/49: Fix #602: fully handle LSP glob syntax, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 550ffc2 34/49: Per #602: tweak glob-parsing grammar, Stefan Monnier, 2021/03/17
- [elpa] externals/eglot 133c25e 24/49: Close #613: explicitly require seq.el, Stefan Monnier, 2021/03/17