diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 5df91ec853..2f06f18e37 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -1321,7 +1321,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; diff --git a/status.22x b/status.22x index acae4f6b17..de0029f59c 100644 --- a/status.22x +++ b/status.22x @@ -38,6 +38,8 @@ What's new - Do not hardcode required packages for Note inset. +- Make *-lyxformat-* backup files use .lyx~ extension. + * LYX2LYX