From: Tommaso Cucinotta Date: Sun, 30 Sep 2012 14:06:21 +0000 (+0100) Subject: Adding preferences format update as due to commit 4985015 (new close_buffer_with_last... X-Git-Tag: 2.1.0beta1~1473 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ad827243fc09cd8d8ab2f1d6407389e4c35cad03;p=features.git Adding preferences format update as due to commit 4985015 (new close_buffer_with_last_view option). --- diff --git a/lib/scripts/prefs2prefs_prefs.py b/lib/scripts/prefs2prefs_prefs.py index 0716d3802b..977d2612bc 100644 --- a/lib/scripts/prefs2prefs_prefs.py +++ b/lib/scripts/prefs2prefs_prefs.py @@ -46,6 +46,10 @@ # Incremented to format 9, a18af620 by spitz # Remove default_language rc. +# Incremented to format 10, 4985015 by tommaso +# Add close_buffer_with_last_view in preferences. +# No conversion necessary. + import re ########################################################### @@ -257,5 +261,6 @@ conversions = [ [ 6, []], [ 7, [add_mime_types]], [ 8, []], - [ 9, [ remove_default_language ]] + [ 9, [ remove_default_language ]], + [ 10, []] ] diff --git a/src/LyXRC.cpp b/src/LyXRC.cpp index 0d4c9197cc..52197c2ab6 100644 --- a/src/LyXRC.cpp +++ b/src/LyXRC.cpp @@ -55,7 +55,7 @@ namespace os = support::os; namespace { -static unsigned int const LYXRC_FILEFORMAT = 9; // spitz: remove \\default_language +static unsigned int const LYXRC_FILEFORMAT = 10; // tommaso: new prefs option: close_buffer_with_last_view // when adding something to this array keep it sorted! LexerKeyword lyxrcTags[] = {