mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 19:59:46 +00:00
Make *-lyxformat-* backup files use .lyx~ extension
At least now they look like real backup files.
(cherry picked from commit d12ebb00b9
)
This commit is contained in:
parent
181ecc51a7
commit
25640ce39c
@ -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;
|
||||
|
@ -38,6 +38,8 @@ What's new
|
||||
|
||||
- Do not hardcode required packages for Note inset.
|
||||
|
||||
- Make *-lyxformat-* backup files use .lyx~ extension.
|
||||
|
||||
|
||||
* LYX2LYX
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user