emacs-diffs
[Top][All Lists]
Advanced

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

emacs-29 5c2be6a2632: ; Fix recently-added doc strings in eglot.el


From: Eli Zaretskii
Subject: emacs-29 5c2be6a2632: ; Fix recently-added doc strings in eglot.el
Date: Thu, 23 Feb 2023 10:19:10 -0500 (EST)

branch: emacs-29
commit 5c2be6a2632052b39b49899d1b19df2942ac6453
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; Fix recently-added doc strings in eglot.el
    
    * lisp/progmodes/eglot.el (eglot-lazy-inlay-hints)
    (eglot-inlay-hints-mode): Doc fixes.
---
 lisp/progmodes/eglot.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 7d61f6ad78e..7b4251a1242 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -3490,17 +3490,17 @@ If NOERROR, return predicate, else erroring function."
   "Face used for parameter inlay hint overlays.")
 
 (defcustom eglot-lazy-inlay-hints 0.3
-  "If non-nil, restrict LSP inlay hints to visible portion of buffer.
+  "If non-nil, restrict LSP inlay hints to visible portion of the buffer.
 
-Value is number specifying how many seconds to wait after a
+Value is a number specifying how many seconds to wait after a
 window has been (re)scrolled before requesting new inlay hints
-for the visible region of the window being manipulated.
+for the now-visible portion of the buffer shown in the window.
 
 If nil, then inlay hints are requested for the entire buffer.
+This could be slow.
 
 This value is only meaningful if the minor mode
-`eglot-inlay-hints-mode' is true.
-"
+`eglot-inlay-hints-mode' is turned on in a buffer."
   :type 'number
   :version "29.1")
 
@@ -3573,7 +3573,7 @@ This value is only meaningful if the minor mode
                           (wsetq eglot--inlay-hints-timer nil))))))))))
 
 (define-minor-mode eglot-inlay-hints-mode
-  "Minor mode annotating buffer with LSP inlay hints."
+  "Minor mode for annotating buffers with LSP server's inlay hints."
   :global nil
   (cond (eglot-inlay-hints-mode
          (cond



reply via email to

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