From: Yuan Fu Date: Sun, 12 Jun 2022 10:04:53 +0000 (-0700) Subject: Update docstring of eglot-events-buffer-size X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~43 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f8344871a0159f2550fda3c68207219f1513e1f8;p=emacs.git 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 --- 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")))