]> git.eshelyaron.com Git - emacs.git/commitdiff
(eglot--xref-make): fix use of cl-destructuring-bind.
authorJoão Távora <joaotavora@gmail.com>
Thu, 10 May 2018 21:56:11 +0000 (22:56 +0100)
committerJoão Távora <joaotavora@gmail.com>
Thu, 10 May 2018 21:56:25 +0000 (22:56 +0100)
lisp/progmodes/eglot.el

index 4c5d53e3204f3c8f22e05fa9dbdca794eede0333..635ca26632e243435dd958de8f73ce9f5f061a34 100644 (file)
@@ -1176,7 +1176,7 @@ DUMMY is ignored"
 
 (defun eglot--xref-make (name uri position)
   "Like `xref-make' but with LSP's NAME, URI and POSITION."
-  (cl-destructuring-bind (line character) position
+  (cl-destructuring-bind (&key line character) position
     (xref-make name (xref-make-file-location
                      (eglot--uri-to-path uri)
                      ;; F!@(#*&#$)CKING OFF-BY-ONE again