From 77a306061053dac632a67f68ab2c0eb4daf28397 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sat, 2 Jun 2018 01:06:07 +0100 Subject: [PATCH] Fix another merge-related bug in eglot-eldoc-function * eglot.el (eglot-eldoc-function): Correctly destructure eglot--range-region. --- lisp/progmodes/eglot.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 64d06a3aa63..3f82c893fd6 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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) -- 2.39.2