help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: when does `gcs-done' is updated?


From: Eli Zaretskii
Subject: Re: when does `gcs-done' is updated?
Date: Fri, 01 Sep 2023 16:19:04 +0300

> From: Shynur Xie <one.last.kiss@outlook.com>
> Date: Fri, 1 Sep 2023 12:03:01 +0000
> msip_labels: 
> 
> I wrote a function which runs each time Emacs collects garbage, so I
> added it to `post-gc-hook'.
> 
> That function cares about the value of `gcs-done' and the value of
> `gc-elapsed'.
> But it seems that `gcs-done' is updated after `post-gc-hook' is executed?
> 
> Is this an intended behavior?  If so, I think the docstring of these
> variables (such as `gcs-done', `gc-elapsed', ...) need to clarify when
> the variable is updated.

This should be posted either to emacs-devel or as a bug report.



reply via email to

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