]> git.lyx.org Git - features.git/commit
Adjust the location of the autosave file for unnamed docs.
authorVincent van Ravesteijn <vfr@lyx.org>
Sun, 3 May 2009 10:24:12 +0000 (10:24 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Sun, 3 May 2009 10:24:12 +0000 (10:24 +0000)
commitaf39d35545295820d0702dcfb340cf8df3c04404
treec3f12d5290553c5b12f825fcd9bf7d264913de18
parentaa4c7e7ef584630338dfca5db45305f2e1865f11
Adjust the location of the autosave file for unnamed docs.

If the document is unnamed try to save in the backup dir, else in the default document path, and as a last try in the filePath, which will most often be the temporary directory.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29508 a592a061-630c-0410-9148-cb99ea01b6c8
src/Buffer.cpp