branch: externals/elpa commit e9b5e548be6f49bc81b6499d247b56f8b02bd635 Author: João Távora <joaotav...@gmail.com> Commit: João Távora <joaotav...@gmail.com>
ETOOMANYLAMBDAS * eglot.el (eglot--sync-request): Remove a lambda. --- eglot.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eglot.el b/eglot.el index d6ecdfe..321307d 100644 --- a/eglot.el +++ b/eglot.el @@ -663,9 +663,8 @@ Meaning only return locally if successful, otherwise exit non-locally." (lambda (&key code message &allow-other-keys) (eglot--error "Oops: %s: %s" code message))) :timeout-fn (lambda () - (lambda () - (eglot--error - "Tired of waiting for reply to sync request"))) + (eglot--error + "Tired of waiting for reply to sync request")) :async-p nil)) (cl-defun eglot--notify (process method params)