diff --git a/moo/mooedit/moousertools.c b/moo/mooedit/moousertools.c index 0d45afc0..5533e32d 100644 --- a/moo/mooedit/moousertools.c +++ b/moo/mooedit/moousertools.c @@ -404,7 +404,7 @@ init_tools_environment (void) done = TRUE; - script_dirs = moo_get_data_subdirs ("scripts", MOO_DATA_LIB, &n_script_dirs); + script_dirs = moo_get_data_subdirs ("scripts", MOO_DATA_SHARE, &n_script_dirs); g_return_if_fail (n_script_dirs != 0); old_path = g_getenv ("PATH"); @@ -1062,7 +1062,7 @@ _moo_edit_save_user_tools (MooUserToolType type, list = g_slist_delete_link (list, list); } - string = moo_key_file_format (key_file, "This file is autogenerated, do not edit", 2); + string = moo_key_file_format (key_file, "This file is autogenerated, do not edit\n# -%- strip: false -%-", 2); if (!moo_save_user_data_file (FILENAMES[type], string, -1, &error)) {