]> git.eshelyaron.com Git - emacs.git/commitdiff
Unbreak build
authorJoão Távora <joaotavora@gmail.com>
Wed, 13 Feb 2019 09:24:02 +0000 (09:24 +0000)
committerJoão Távora <joaotavora@gmail.com>
Wed, 13 Feb 2019 09:24:02 +0000 (09:24 +0000)
Messed up the name of eglot-xref-lessp-function.

* eglot.el (eglot--handling-xrefs): Use eglot-xref-lessp-function

GitHub-reference: per https://github.com/joaotavora/eglot/issues/220

lisp/progmodes/eglot.el

index df6a1b3ecb3ca12c28a105c9bf81c5138db648a6..06600e2e9714b5782ece13cde02f503b77df3329 100644 (file)
@@ -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)))