*Jean-Marc Lasgouttes writes:
 | 1/ make markLyXClean() set bak_clean to true (if the .lyx file is
 | clean, we don't need a backup, after all)
 | 
 | 2/ Call markBakClean() in bufferlist::write().
 | 
 | I think the first solution is the right one.

I am not sure how the code goes...but

When we save a file, the autosave file (bak) should be deleted if it
exists. A new autosave file should only be created if lyx_clean is
false.

So the value of bak_clean should not matter in that case.

Hmm, I don't want to fiddle too much with this in 1.0, but I'll see if
it is possible to simplify things in 1.1.

        Lgb

Reply via email to