# Option to auto-close deleted files with no unsaved edits \(\#31920\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b74477d12e248abd8ab2ed1c00d9d6326b4de1b6

Requested commit: b74477d12e248abd8ab2ed1c00d9d6326b4de1b6

Commit: b74477d12e248abd8ab2ed1c00d9d6326b4de1b6

Tree: 4142dd7707a487808d0bcf9904de1f15c29c03f3

Author: Ben Brandt

Committer: GitHub

## Message

```
Option to auto-close deleted files with no unsaved edits (#31920)

Closes #27982

Release Notes:

- Added `close_on_file_delete` setting (off by default) to allow closing
open files after they have been deleted on disk

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
```

## Parents

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

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