From: João Távora Date: Mon, 7 May 2018 11:18:08 +0000 (+0100) Subject: Etoomanylambdas X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~631 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=963f9f4bf90e6a08ffe569155d4b7620545bc60f;p=emacs.git Etoomanylambdas * eglot.el (eglot--sync-request): Remove a lambda. --- 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)