Set use-tabs to TRUE for makefiles

master
Yevgen Muntyan 2006-04-26 23:11:03 -05:00
parent ea35f16b38
commit efc8cae383
1 changed files with 13 additions and 0 deletions

View File

@ -821,6 +821,17 @@ moo_edit_config_get_for_lang (const char *lang)
} }
static void
lang_config_set_defaults (void)
{
MooEditConfig *config;
config = moo_edit_config_get_for_lang ("makefile");
moo_edit_config_parse (config, "use-tabs", "true",
MOO_EDIT_CONFIG_SOURCE_LANG);
}
/***************************************************************************/ /***************************************************************************/
/* Loading and saving /* Loading and saving
*/ */
@ -867,6 +878,8 @@ _moo_edit_config_load (void)
MooMarkupDoc *xml; MooMarkupDoc *xml;
MooMarkupNode *root, *node; MooMarkupNode *root, *node;
lang_config_set_defaults ();
xml = moo_prefs_get_markup (); xml = moo_prefs_get_markup ();
g_return_if_fail (xml != NULL); g_return_if_fail (xml != NULL);