]> git.eshelyaron.com Git - emacs.git/commitdiff
Update docstring of eglot-events-buffer-size
authorYuan Fu <casouri@gmail.com>
Sun, 12 Jun 2022 10:04:53 +0000 (03:04 -0700)
committerGitHub <noreply@github.com>
Sun, 12 Jun 2022 10:04:53 +0000 (11:04 +0100)
* 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

index 4e28de18754f1d8aeb0461cffab46dff62eb066a..53ae6fae3c3c6d8a3ceb16e5bd1aeff86124efed 100644 (file)
@@ -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")))