Go to the first, previous, next, last section, table of contents.


Buffer Modification Counts

Two buffer-local variables are used to record the modification count (see section Buffer Attributes) of a buffer when it is saved.

Variable: last-save-changes
A buffer-local variable containing the number of modifications made to the buffer the last time it was saved (either auto-saved or by the user).

Variable: last-user-save-changes
This buffer-local variable holds the number of modifications made to the buffer when it was last saved by the user.

Variable: last-save-time
A buffer-local variable holding the system time (from the current-time function) from when the buffer was last saved (auto-saved or by the user).


Go to the first, previous, next, last section, table of contents.