commit 714241c3136499f3095c2917f99c1e9426f6673e
Author: Richard Kimberly Heck <[email protected]>
Date: Mon May 20 21:23:40 2019 -0400
Inform user of the new name of the emergency file.
---
src/Buffer.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 7dbef4f..6665a73 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -4801,6 +4801,10 @@ Buffer::ReadStatus Buffer::loadEmergency()
"You should do so manually.
Otherwise, you will be "
"asked about it again the next time
you try to load "
"this file, and may over-write your
own work."));
+ } else {
+ Alert::warning(_("Emergency File Renames"),
+ bformat(_("Emergency file renamed as:\n
%1$s"),
+ from_utf8(newname.onlyFileName())));
}
}
return ReadOriginal;