emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/eglot e9b5e54 077/139: ETOOMANYLAMBDAS


From: João Távora
Subject: [elpa] externals/eglot e9b5e54 077/139: ETOOMANYLAMBDAS
Date: Mon, 14 May 2018 09:54:57 -0400 (EDT)

branch: externals/eglot
commit e9b5e548be6f49bc81b6499d247b56f8b02bd635
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]