]> git.lyx.org Git - features.git/commitdiff
Add some hook for the next rc2rc.
authorPavel Sanda <sanda@lyx.org>
Sun, 16 Nov 2008 13:27:00 +0000 (13:27 +0000)
committerPavel Sanda <sanda@lyx.org>
Sun, 16 Nov 2008 13:27:00 +0000 (13:27 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27536 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXRC.cpp

index be650c3a7447d04bcbe6e819edf3bc7e87beb706..ebbff6a463f44d5aa5da97da9b22738aeacabea0 100644 (file)
 
 #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