# Autosave files on close, when setting is \`afterDelay\` \(\#36929\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c54e294965df8e05b76773f04e879e68a0cc3687)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c54e294965df8e05b76773f04e879e68a0cc3687

Requested commit: c54e294965df8e05b76773f04e879e68a0cc3687

Commit: c54e294965df8e05b76773f04e879e68a0cc3687

Tree: cd50fd6488e63bf524dee124fa8c263b9db4c1ed

Author: itsaphel

Committer: GitHub

## Message

```
Autosave files on close, when setting is `afterDelay` (#36929)

Closes https://github.com/zed-industries/zed/issues/12149
Closes #35524

Release Notes:

- Improved autosave behavior, to prevent a confirmation dialog when
quickly closing files and using the `afterDelay` setting

---------

Co-authored-by: MrSubidubi <finn@zed.dev>
```

## Parents

- [86834887da048b504373acc184135011aa3390b2](https://git.cafe/gitcafe/zed/commit/86834887da048b504373acc184135011aa3390b2?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c54e294965df8e05b76773f04e879e68a0cc3687?format=markdown)
