emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#72634: closed (Documentation correction in eglot.texi)


From: GNU bug Tracking System
Subject: bug#72634: closed (Documentation correction in eglot.texi)
Date: Sat, 17 Aug 2024 10:10:02 +0000

Your message dated Sat, 17 Aug 2024 13:08:55 +0300
with message-id <86mslb31hk.fsf@gnu.org>
and subject line Re: bug#72634: Documentation correction in eglot.texi
has caused the debbugs.gnu.org bug report #72634,
regarding Documentation correction in eglot.texi
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
72634: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72634
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Documentation correction in eglot.texi Date: Thu, 15 Aug 2024 14:09:59 +1000
eglot-managed-p is a function, not a variable.

The documentation states that to check whether a buffer is managed by
eglot the user should, for example:  (if eglot-managed-p ...). But in
fact, what is required is: (if (eglot-managed-p) ...).
---
 doc/misc/eglot.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/misc/eglot.texi b/doc/misc/eglot.texi
index ba7aeb448e5..fb5b618bd84 100644
--- a/doc/misc/eglot.texi
+++ b/doc/misc/eglot.texi
@@ -600,7 +600,7 @@ user, but automatically, as the result of starting an Eglot session
 for the buffer.  However, this minor mode provides a hook variable
 @code{eglot-managed-mode-hook} that can be used to customize the Eglot
 management of the buffer.  This hook is run both when the minor mode
-is turned on and when it's turned off; use the variable
+is turned on and when it's turned off; use the function
 @code{eglot-managed-p} to tell if current buffer is still being
 managed or not.  When Eglot stops managing the buffer, this minor mode
 is turned off, and all the settings that Eglot changed are restored to
--
2.46.0



--- End Message ---
--- Begin Message --- Subject: Re: bug#72634: Documentation correction in eglot.texi Date: Sat, 17 Aug 2024 13:08:55 +0300
> From: david edmonds <edmonds.david.a@gmail.com>
> Date: Thu, 15 Aug 2024 14:09:59 +1000
> 
> eglot-managed-p is a function, not a variable.
> 
> The documentation states that to check whether a buffer is managed by
> eglot the user should, for example:  (if eglot-managed-p ...). But in
> fact, what is required is: (if (eglot-managed-p) ...).

Thanks, installed on the emacs-30 branch, and closing the bug.


--- End Message ---

reply via email to

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