]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix typo in docstring
authorTheodor Thornhill <theo@thornhill.no>
Fri, 29 Mar 2024 08:18:53 +0000 (09:18 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 31 Mar 2024 18:04:58 +0000 (20:04 +0200)
* lisp/progmodes/eglot.el (eglot-lsp-server): eglot-current-server is
now exposed.

(cherry picked from commit e5e3c9cef64e3ef3f54b91f98e28e030aba8c93f)

lisp/progmodes/eglot.el

index 661a30cdcdcf185f72a36d95e9e41446ead2f2ad..14c7f84dc43407c106d5dcc861ea07453af8610a 100644 (file)
@@ -1064,7 +1064,7 @@ ACTION is an LSP object of either `CodeAction' or `Command' type."
 
 (declare-function w32-long-file-name "w32proc.c" (fn))
 (defun eglot-uri-to-path (uri)
-  "Convert URI to file path, helped by `eglot--current-server'."
+  "Convert URI to file path, helped by `eglot-current-server'."
   (when (keywordp uri) (setq uri (substring (symbol-name uri) 1)))
   (let* ((server (eglot-current-server))
          (remote-prefix (and server (eglot--trampish-p server)))