]> git.eshelyaron.com Git - emacs.git/commit
Eglot: fix null scopeUri regression in workspace/configuration
authorIngo Lohmar <ingo.lohmar@posteo.net>
Sun, 13 Nov 2022 16:27:12 +0000 (17:27 +0100)
committerIngo Lohmar <ingo.lohmar@posteo.net>
Sun, 13 Nov 2022 16:48:36 +0000 (17:48 +0100)
commit7d53164162b3e36b53f52f4132cea3202919f749
tree3fdfacfb8f435909e5ee142b2d9dce3580ae49d9
parentae1a6b5bdf112716aa4bf08cbb723dc3d393f6ed
Eglot: fix null scopeUri regression in workspace/configuration

* lisp/progmodes/eglot.el (eglot-handle-request):
Commit 1a2d603bb3938ff68ed1a5412d131b41efd40a24 changed
`eglot--uri-to-path' to return a nil uri untouched.  (Before,
`url-unhex-string' turned the parsed all-nil uri record into the empty
string.)

A nil return value must now be handled in the caller, do that for the
workspace/configuration handler to avoid an uncaught error.
lisp/progmodes/eglot.el