]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix another merge-related bug in eglot-eldoc-function
authorJoão Távora <joaotavora@gmail.com>
Sat, 2 Jun 2018 00:06:07 +0000 (01:06 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sat, 2 Jun 2018 00:40:10 +0000 (01:40 +0100)
* eglot.el (eglot-eldoc-function): Correctly destructure
eglot--range-region.

lisp/progmodes/eglot.el

index 64d06a3aa637c1ba05e90ee11ac95f606415fbc3..3f82c893fd6c226141d035b034308bf5a1994dda 100644 (file)
@@ -1138,7 +1138,7 @@ If SKIP-SIGNATURE, don't try to send textDocument/signatureHelp."
                  (when-buffer-window
                   (mapcar
                    (jsonrpc-lambda (&key range _kind _role)
-                     (pcase-let ((`(,beg ,end)
+                     (pcase-let ((`(,beg ,end)
                                   (eglot--range-region range)))
                        (let ((ov (make-overlay beg end)))
                          (overlay-put ov 'face 'highlight)