From: Eli Zaretskii Date: Wed, 5 Apr 2023 09:23:54 +0000 (+0300) Subject: ; Avoid compiler warning in eglot.el. X-Git-Tag: emacs-29.0.90~26 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=81d1f46d0fe;p=emacs.git ; Avoid compiler warning in eglot.el. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 4a9209ab9b4..cb9190a7523 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -1605,6 +1605,7 @@ If optional MARKER, return a marker instead" (directory-file-name (file-local-name truepath)) eglot--uri-path-allowed-chars))))) +(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'." (when (keywordp uri) (setq uri (substring (symbol-name uri) 1)))