[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Time of last command invoked
From: |
Stefan Monnier |
Subject: |
Re: Time of last command invoked |
Date: |
Sat, 27 Feb 2021 10:31:48 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> Is there some internal log in Emacs that keeps the date and
>> time of last command invoked by a key or M-x?
> That would imply a huge overhead.
Not really, no.
We already keep a log of the keys and commands (as used for `C-h l`),
so it's a small matter of adding timestamps in there.
But given the way this is currently implemented, it would have to be
done in the C code, I think.
Stefan