emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d764a2bfa8: ; * lisp/progmodes/eglot.el (eglot--path-to-uri): Imp


From: Eli Zaretskii
Subject: master d764a2bfa8: ; * lisp/progmodes/eglot.el (eglot--path-to-uri): Improve commentary.
Date: Fri, 11 Nov 2022 03:22:02 -0500 (EST)

branch: master
commit d764a2bfa88c4b33a290acd088ef4a4315d8902d
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * lisp/progmodes/eglot.el (eglot--path-to-uri): Improve commentary.
---
 lisp/progmodes/eglot.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 2463f68f97..23f6d8e76d 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]