summaryrefslogtreecommitdiff
path: root/src/mbyte.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-27 23:58:35 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-27 23:58:35 +0000
commit5e3cb7e8699f855193179a8cb799d1087f4a2ac9 (patch)
tree297e019074e2c2b85d5151701fcfae03bf02ceb9 /src/mbyte.c
parenteddf53b02e2b007208b19c74fb616be2c0839b36 (diff)
downloadvim-git-5e3cb7e8699f855193179a8cb799d1087f4a2ac9.tar.gz
updated for version 7.0209v7.0209
Diffstat (limited to 'src/mbyte.c')
-rw-r--r--src/mbyte.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mbyte.c b/src/mbyte.c
index 323f1a007..062d5842f 100644
--- a/src/mbyte.c
+++ b/src/mbyte.c
@@ -731,13 +731,9 @@ codepage_invalid:
/* When using Unicode, set default for 'fileencodings'. */
if (enc_utf8 && !option_was_set((char_u *)"fencs"))
- {
set_string_option_direct((char_u *)"fencs", -1,
- (char_u *)"ucs-bom,utf-8,default,latin1", OPT_FREE);
-# ifdef FEAT_EVAL
- set_option_scriptID((char_u *)"fencs", current_SID);
-# endif
- }
+ (char_u *)"ucs-bom,utf-8,default,latin1", OPT_FREE, 0);
+
#if defined(HAVE_BIND_TEXTDOMAIN_CODESET) && defined(FEAT_GETTEXT)
/* GNU gettext 0.10.37 supports this feature: set the codeset used for
* translated messages independently from the current locale. */