From: Pavel Sanda Date: Sun, 16 Nov 2008 13:27:00 +0000 (+0000) Subject: Add some hook for the next rc2rc. X-Git-Tag: 2.0.0~7725 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=03cc2c2f1342a611c3ec298d22d33af969522677;p=features.git Add some hook for the next rc2rc. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27536 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index be650c3a74..ebbff6a463 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -23,11 +23,12 @@ #include "Color.h" #include "Converter.h" +#include "FontEnums.h" #include "Format.h" -#include "Session.h" #include "Lexer.h" -#include "FontEnums.h" #include "Mover.h" +#include "Session.h" +#include "version.h" #include "graphics/GraphicsTypes.h" @@ -1155,8 +1156,9 @@ void LyXRC::write(ostream & os, bool ignore_system_lyxrc, string const & name) c } if (tag == RC_LAST) - os << "# This file is written by LyX, if you want to make your own\n" - << "# modifications you should do them from inside LyX and save\n" + os << "# LyX " << lyx_version + << " generated this file. If you want to make your own\n" + << "# modifications you should do them from inside LyX and save.\n" << "\n"; // Why the switch you might ask. It is a trick to ensure that all