diff options
| author | João Távora | 2026-01-14 09:33:43 +0000 |
|---|---|---|
| committer | João Távora | 2026-01-21 12:26:23 +0000 |
| commit | 7ce09a741a8d4bde356a268d3bf93f7253528f6a (patch) | |
| tree | 3bcee85e25dc0964bfce06ff24bcb4e1d4dd1de5 /java | |
| parent | b364c42a0eb884a07286f13f09ead50f878c026e (diff) | |
| download | emacs-7ce09a741a8d4bde356a268d3bf93f7253528f6a.tar.gz emacs-7ce09a741a8d4bde356a268d3bf93f7253528f6a.zip | |
Jsonrpc: allow control over jsonrpc-request quits
This allows clients such as Eglot to act on the user
C-g's/quits out of a blocking jsonrpc-request call. It also
fixes the TIMEOUT=nil passed to jsonrpc-request. An infinite
timeout in that case (for a long-running request, for example)
and it was not being transmitted to the lower
jsonrpc-async-request.
* lisp/jsonrpc.el (jsonrpc-request): Add CANCEL-ON-QUIT. Rework
docstring.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions