From f8344871a0159f2550fda3c68207219f1513e1f8 Mon Sep 17 00:00:00 2001 From: Yuan Fu Date: Sun, 12 Jun 2022 03:04:53 -0700 Subject: [PATCH] Update docstring of eglot-events-buffer-size * eglot.el (eglot-events-buffer-size): Mention that you need to restart the connection for 'eglot-events-buffer-size' to take effect. GitHub-reference: close https://github.com/joaotavora/eglot/issues/974 GitHub-reference: close https://github.com/joaotavora/eglot/issues/776 --- lisp/progmodes/eglot.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 4e28de18754..53ae6fae3c3 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -312,7 +312,11 @@ as 0, i.e. don't block at all." "Control the size of the Eglot events buffer. If a number, don't let the buffer grow larger than that many characters. If 0, don't use an event's buffer at all. If nil, -let the buffer grow forever." +let the buffer grow forever. + +For changes on this variable to take effect on a connection +already started, you need to restart the connection. That can be +done by `eglot-reconnect'." :type '(choice (const :tag "No limit" nil) (integer :tag "Number of characters"))) -- 2.39.5