Re: defadvice on garbage-collect doesnt work?

From:

John Paul Wallington

Subject:

Re: defadvice on garbage-collect doesnt work?

Date:

Wed, 14 Mar 2007 00:57:47 +0000

User-agent:

Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (windows-nt)

address@hidden writes:
> I would like to use the information returned by (garbage-collect) but
> it doesnt seem right to do a garbage collect everytime the modeline is
> displayed, therefore i would like to store the values calculated by
> the last gc in a variable:
How about sticking something to collect information on `post-gc-hook',
the hook run after garbage collection has finished ?