]> git.eshelyaron.com Git - emacs.git/commit
Correct path/uri when using tramp from ms windows
authorJim Porter <itsjimporter@gmail.com>
Thu, 13 May 2021 15:55:31 +0000 (08:55 -0700)
committerGitHub <noreply@github.com>
Thu, 13 May 2021 15:55:31 +0000 (16:55 +0100)
commitfe9d6daa57102c7daebdcced2d7b6253cecb047c
tree5a5017bb2610c6d7b4edc9eb9b228c85b7dc4fa9
parent68baa57143ed4f338778053d9aa3120ed5d59300
Correct path/uri when using tramp from ms windows

Co-authored-by: João Távora <joaotavora@gmail.com>
* eglot.el (eglot--connect): Ensure drive letter doesn't sneak into
rootPath.  (eglot--path-to-uri): Only add a leading "/" for local MS
Windows paths. (eglot--uri-to-path): Only remove leading "/" from
local MS Windows paths.

GitHub-reference: fix https://github.com/joaotavora/eglot/issues/679
lisp/progmodes/eglot.el