]> git.eshelyaron.com Git - emacs.git/commit
Eglot: Fix parsing file:// URIs on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Tue, 13 May 2025 11:45:04 +0000 (14:45 +0300)
committerEshel Yaron <me@eshelyaron.com>
Wed, 14 May 2025 12:35:06 +0000 (14:35 +0200)
commit5b4d271de3f796252c861927ca4fba221474c8c7
tree69d7b6ce0dac8520c13116c616bcd66d4680f2aa
parent796764647e506f5c17658b3863c52d9ee9b50019
Eglot: Fix parsing file:// URIs on MS-Windows

* lisp/progmodes/eglot.el (eglot-uri-to-path): Remove the leading
slash in MS-Windows file names only if they begin with a slash.
This adjusts the function to the recent fix for bug#76982 in
'url-generic-parse-url', which previously would produce file names
that begin with an extra slash.  (Bug#78392)

(cherry picked from commit b3e280faba98d2ca7e4feef1017e3bebf53f036a)
lisp/progmodes/eglot.el