aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/eglot.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index eae8e1b9189..6f6b05a393d 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -1165,7 +1165,8 @@ object."
1165 ;; Remove the leading "/" for local MS Windows-style paths. 1165 ;; Remove the leading "/" for local MS Windows-style paths.
1166 (normalized (if (and (not remote-prefix) 1166 (normalized (if (and (not remote-prefix)
1167 (eq system-type 'windows-nt) 1167 (eq system-type 'windows-nt)
1168 (cl-plusp (length retval))) 1168 (cl-plusp (length retval))
1169 (eq (aref retval 0) ?/))
1169 (w32-long-file-name (substring retval 1)) 1170 (w32-long-file-name (substring retval 1))
1170 retval))) 1171 retval)))
1171 (concat remote-prefix normalized)) 1172 (concat remote-prefix normalized))