diff options
author | João Távora <joaotavora@gmail.com> | 2023-11-28 18:47:09 -0600 |
---|---|---|
committer | João Távora <joaotavora@gmail.com> | 2023-11-28 18:47:09 -0600 |
commit | 5a0250f76676d8750f42bbca1af5c4553846949b (patch) | |
tree | 0b88768cfa7f7ee37ac4ccc629e0650483db25c0 /test/lisp/emacs-lisp/bytecomp-resources/warn-variable-setq-odd.el | |
parent | 02d88e36e911e76842369e565ca2dae9a7922f7b (diff) | |
download | emacs-5a0250f76676d8750f42bbca1af5c4553846949b.tar.gz emacs-5a0250f76676d8750f42bbca1af5c4553846949b.tar.bz2 emacs-5a0250f76676d8750f42bbca1af5c4553846949b.zip |
Jsonrpc: prevent while-no-input messing with jsonrpc-request
'jsonrpc-request' already has its "interrupt on user input" mechanism
base on 'sit-for'. If called from a situation that uses
while-no-input to do basically the same, that mechanism may become
confused, so it's important to prevent that interfence.
This was confirmed to be a problem when using the Corfu completion
front-end.
See also
https://github.com/joaotavora/eglot/discussions/1127#discussioncomment-7277567
Many thanks to JD Smith <jdtsmith@gmail.com> for helping me debug this
and pointing in the right direction.
* lisp/jsonrpc.el (Version): Bump to 1.0.18
(jsonrpc-request): Bind throw-on-input to nil
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/warn-variable-setq-odd.el')
0 files changed, 0 insertions, 0 deletions