Adding preferences format update as due to commit 4985015 (new close_buffer_with_last_view option).

This commit is contained in:
Tommaso Cucinotta 2012-09-30 15:06:21 +01:00
parent 4180dc9489
commit ad827243fc
2 changed files with 7 additions and 2 deletions

View File

@ -46,6 +46,10 @@
# Incremented to format 9, a18af620 by spitz # Incremented to format 9, a18af620 by spitz
# Remove default_language rc. # Remove default_language rc.
# Incremented to format 10, 4985015 by tommaso
# Add close_buffer_with_last_view in preferences.
# No conversion necessary.
import re import re
########################################################### ###########################################################
@ -257,5 +261,6 @@ conversions = [
[ 6, []], [ 6, []],
[ 7, [add_mime_types]], [ 7, [add_mime_types]],
[ 8, []], [ 8, []],
[ 9, [ remove_default_language ]] [ 9, [ remove_default_language ]],
[ 10, []]
] ]

View File

@ -55,7 +55,7 @@ namespace os = support::os;
namespace { 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! // when adding something to this array keep it sorted!
LexerKeyword lyxrcTags[] = { LexerKeyword lyxrcTags[] = {