mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Make *-lyxformat-* backup files use .lyx~ extension
At least now that look like real backup files
This commit is contained in:
parent
df11db1dd3
commit
d12ebb00b9
@ -1322,7 +1322,7 @@ Buffer::ReadStatus Buffer::convertLyXFormat(FileName const & fn,
|
||||
FileName Buffer::getBackupName() const {
|
||||
FileName const & fn = fileName();
|
||||
string const fname = fn.onlyFileNameWithoutExt();
|
||||
string const fext = fn.extension();
|
||||
string const fext = fn.extension() + "~";
|
||||
string const fpath = lyxrc.backupdir_path.empty() ?
|
||||
fn.onlyPath().absFileName() :
|
||||
lyxrc.backupdir_path;
|
||||
|
Loading…
Reference in New Issue
Block a user