diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-11-11 10:21:45 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-11-11 10:21:45 +0200 |
commit | d764a2bfa88c4b33a290acd088ef4a4315d8902d (patch) | |
tree | 742a790e2f6ab9a58578ca2bac4a06ed8ac7d3bf /lisp/progmodes | |
parent | 161cb6034cec114b59f8fabc4230b3f48ac6cecb (diff) | |
download | emacs-d764a2bfa88c4b33a290acd088ef4a4315d8902d.tar.gz emacs-d764a2bfa88c4b33a290acd088ef4a4315d8902d.tar.bz2 emacs-d764a2bfa88c4b33a290acd088ef4a4315d8902d.zip |
; * lisp/progmodes/eglot.el (eglot--path-to-uri): Improve commentary.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/eglot.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 2463f68f971..23f6d8e76d4 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1502,7 +1502,9 @@ If optional MARKER, return a marker instead" "URIfy PATH." (let ((truepath (file-truename path))) (if (url-type (url-generic-parse-url truepath)) - ;; Path is already a URI, so forward it to the lsp server untouched. + ;; Path is already a URI, so forward it to the LSP server + ;; untouched. The server shopuld be able to handle it, since + ;; it provided this URI to clients in the first place. truepath (concat "file://" ;; Add a leading "/" for local MS Windows-style paths. |