Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Comments

Fixes for preserved buffers of files deleted outside Atom#197

Merged
iolsen merged 3 commits intomasterfrom
io-file-delete-fixes
Feb 1, 2017
Merged

Fixes for preserved buffers of files deleted outside Atom#197
iolsen merged 3 commits intomasterfrom
io-file-delete-fixes

Conversation

@iolsen
Copy link
Contributor

@iolsen iolsen commented Jan 31, 2017

This PR fixes three issues reported in atom/tabs#306:

  • Linux behavior: now honors the setting, doesn't blank the editor.
  • Now retains the path (and therefore tab name) for deleted files.
  • Properly emits did-change-modified events so the UI correctly reflects the modified flag state.

Note the second item is accomplished by removing most of the difference in handling deletion of modified vs. unmodified files. They are now treated identically except that modified files ignore the setting: their buffers are always preserved.

@iolsen iolsen merged commit 67ac0d9 into master Feb 1, 2017
@iolsen iolsen deleted the io-file-delete-fixes branch February 1, 2017 16:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant