>>>>> "Asger" == Asger K Alstrup Nielsen <[EMAIL PROTECTED]> writes:

Asger> IMO, we should use "isLyxClean()", and "isReadonly()" (it's
Asger> possible to change the status of a changed document to make it
Asger> read-only, but then I don't think we should autosave it...)

Asger> I don't know what isBakClean does.  You might want to check the
Asger> logic of that and see if we need that as well.

Well, it seems that BakClean() is only set/tested individually in this
autosave thing. Otherwise, the Buffer::bak_clean boolean is only
set/reset together with lyx_clean. So I think that I will

1/ Use isLyXClean in autosave now.

2/ Later (after 1.0.0 or even in 1.1) get rid of this bak_clean
variable completely.

OK?

JMarc

Reply via email to