diff --git a/lib/RELEASE-NOTES b/lib/RELEASE-NOTES index 9216dec4bf..d2fca2d121 100644 --- a/lib/RELEASE-NOTES +++ b/lib/RELEASE-NOTES @@ -60,12 +60,6 @@ !!!The following pref variables were changed in 2.3: -* \document_path - Default is changed to ".". The best guess for where the user wants to save - or find files is the directory the user started LyX from. Before, the - default was always the home directory. If desired, the old behavior can be - restored by changing the default path in Preferences > "Working directory". - !!!The following pref variables are obsoleted in 2.3: diff --git a/src/LyX.cpp b/src/LyX.cpp index 12bdbe6666..f9c3c2ddad 100644 --- a/src/LyX.cpp +++ b/src/LyX.cpp @@ -865,7 +865,7 @@ bool LyX::init() #endif lyxrc.tempdir_path = package().temp_dir().absFileName(); - lyxrc.document_path = "."; + lyxrc.document_path = package().document_dir().absFileName(); if (lyxrc.example_path.empty()) { lyxrc.example_path = addPath(package().system_support().absFileName(),