Skip to content

Comments

Prompt to save or discard new files even with autosave enabled#3626

Merged
dmaluka merged 1 commit intomicro-editor:masterfrom
yz778:autosavenewfile
Jan 25, 2025
Merged

Prompt to save or discard new files even with autosave enabled#3626
dmaluka merged 1 commit intomicro-editor:masterfrom
yz778:autosavenewfile

Conversation

@yz778
Copy link
Contributor

@yz778 yz778 commented Jan 22, 2025

Fix for #3624 (thanks @JoeKar).

Autosave should only apply to existing or named files. For unnamed ("No name") files, Micro should still prompt you to save or discard before exiting.

Fixes #3624

@yz778 yz778 mentioned this pull request Jan 22, 2025
@JoeKar JoeKar requested a review from dmaluka January 23, 2025 17:35
@dmaluka dmaluka merged commit c02036e into micro-editor:master Jan 25, 2025
@yz778 yz778 deleted the autosavenewfile branch January 25, 2025 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

autosave and new file

2 participants