From 963f9f4bf90e6a08ffe569155d4b7620545bc60f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Mon, 7 May 2018 12:18:08 +0100 Subject: [PATCH] Etoomanylambdas * eglot.el (eglot--sync-request): Remove a lambda. --- lisp/progmodes/eglot.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index d6ecdfed188..321307df29a 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/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) -- 2.39.2