diff options
author | Theodor Thornhill <theo@thornhill.no> | 2024-03-30 09:35:16 +0100 |
---|---|---|
committer | Theodor Thornhill <theo@thornhill.no> | 2024-03-30 20:48:32 +0100 |
commit | a33e7c0286c2a9c8af1c96db42f5c0c37611c9db (patch) | |
tree | a6ac4154a9212467f47222e04114a44e75b6707e /lisp/emacs-lisp/regexp-opt.el | |
parent | e5e3c9cef64e3ef3f54b91f98e28e030aba8c93f (diff) | |
download | emacs-a33e7c0286c2a9c8af1c96db42f5c0c37611c9db.tar.gz emacs-a33e7c0286c2a9c8af1c96db42f5c0c37611c9db.tar.bz2 emacs-a33e7c0286c2a9c8af1c96db42f5c0c37611c9db.zip |
Disable workDoneProgress if defcustom is nil
There is no need to receive the $/progress notifications from the server
if we don't want to render them. Because they are effectively ignored
when eglot-report-progress is nil we'd rather not waste cycles on serde
of the messages.
* lisp/progmodes/eglot.el (eglot-client-capabilities): use value from
defcustom to decide whether or not to advertise to server.
Diffstat (limited to 'lisp/emacs-lisp/regexp-opt.el')
0 files changed, 0 insertions, 0 deletions