Subject: Re: bug#21612: 24.5; Configuration variable to delete auto-save file when intentionally killing buffer

From: Eli Zaretskii <[email-masked]>
Date: Fri, 20 Aug 2021 09:23:32 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Cc: [email-masked],  [email-masked],  [email-masked]
> Date: Thu, 19 Aug 2021 15:05:34 +0200
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> Under which conditions will it delete anything?  Hm...  well, I guess if
> >> you set the buffer to non-modified manually and then kills it, it'll
> >> delete the auto-save file?
> >
> > Yes.  Or any other command that resets the modified status without
> > also deleting the auto-save file.
> 
> Are there any other commands that do this?

I don't really know of any specific ones, but where there's one, there
could be others.