diff options
| author | João Távora | 2023-03-30 23:52:27 +0100 |
|---|---|---|
| committer | João Távora | 2023-03-30 23:57:06 +0100 |
| commit | 131ec049db03a3a90c887edf67a8de86ab47008a (patch) | |
| tree | b1ee2e19c6128956181037099d5782dbd6706377 /java | |
| parent | 0622e1f29f6e4c7a361f5e78ac09bed6466c4b57 (diff) | |
| download | emacs-131ec049db03a3a90c887edf67a8de86ab47008a.tar.gz emacs-131ec049db03a3a90c887edf67a8de86ab47008a.zip | |
Eglot: unbreak eglot-extend-to-xref on w32
Because of a drive-letter casing mismatch between 'buffer-file-name'
and the return value of 'url-generic-parse-url', the hash-table test
'equal' in 'eglot-current-server' failed.
This failed to recognize that the file xref landed us on really is
managed by the language server that facilitated that jump.
The function w32-long-file-name seems to convert "C:/Users/" to
"c:/Users" consistently and so is a good addition to
eglot--uri-to-path.
* lisp/progmodes/eglot.el (eglot--uri-to-path): Use
w32-long-file-name.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions