emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/eglot2emacs f8344871a0 075/120: Update docstring of eglot-events


From: João Távora
Subject: feature/eglot2emacs f8344871a0 075/120: Update docstring of eglot-events-buffer-size
Date: Thu, 20 Oct 2022 07:16:58 -0400 (EDT)

branch: feature/eglot2emacs
commit f8344871a0159f2550fda3c68207219f1513e1f8
Author: Yuan Fu <casouri@gmail.com>
Commit: GitHub <noreply@github.com>

    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 4e28de1875..53ae6fae3c 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")))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]