branch: externals/eglot
commit 7d6e3cf5d7ae098aa6c8572343c8bc9b8453aace
Author: João Távora <joaotav...@gmail.com>
Commit: João Távora <joaotav...@gmail.com>

    Per #220: unbreak build
    
    Messed up the name of eglot-xref-lessp-function.
    
    * eglot.el (eglot--handling-xrefs): Use eglot-xref-lessp-function
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index df6a1b3..06600e2 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1684,7 +1684,7 @@ DUMMY is ignored."
 (defmacro eglot--handling-xrefs (&rest body)
   "Properly sort and handle xrefs produced and returned by BODY."
   `(unwind-protect
-       (sort (progn ,@body) eglot-xref-sort-function)
+       (sort (progn ,@body) eglot-xref-lessp-function)
      (maphash (lambda (_uri buf) (kill-buffer buf)) 
eglot--temp-location-buffers)
      (clrhash eglot--temp-location-buffers)))
 

Reply via email to