[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
when does `gcs-done' is updated?
From: |
Shynur Xie |
Subject: |
when does `gcs-done' is updated? |
Date: |
Fri, 1 Sep 2023 12:03:01 +0000 |
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.
- when does `gcs-done' is updated?,
Shynur Xie <=