]> git.eshelyaron.com Git - emacs.git/commit
Reinstate the catch/loop/throw idiom in eglot-request
authorJoão Távora <joaotavora@gmail.com>
Sun, 13 May 2018 01:39:32 +0000 (02:39 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 13 May 2018 01:44:05 +0000 (02:44 +0100)
commitbb08431bca7475dffdc3f37a97e4aea468a83641
treef301753322d50b763aace0c3bdfb06b6262a3a78
parent72b7487c55bfc694eec23391e116a6866c40c949
Reinstate the catch/loop/throw idiom in eglot-request

This reverts parts of commit fabee14ed5b32c30c6ac5cb1ce88f387522a6a1e.

Unfortunately, this may cause problems when calling the error
callbacks directly as in the process sentinel. In that particular
scenario the accept-process-output won't have return, because no
output has is being handled. Consequently, if we're unlucky, we have
another 30 seconds to way before the flag is tested and the loop
exits.

* eglot.el (eglot-request): Use catch/loop/throw again
lisp/progmodes/eglot.el