summaryrefslogtreecommitdiffstats
path: root/src/misc2.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/misc2.c
parenteddf53b02e2b007208b19c74fb616be2c0839b36 (diff)
updated for version 7.0209v7.0209
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/misc2.c b/src/misc2.c
index 9a2f06d019..dddbc5fb09 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -2793,13 +2793,9 @@ set_fileformat(t, opt_flags)
break;
}
if (p != NULL)
- {
set_string_option_direct((char_u *)"ff", -1, (char_u *)p,
- OPT_FREE | opt_flags);
-# ifdef FEAT_EVAL
- set_option_scriptID((char_u *)"ff", current_SID);
-# endif
- }
+ OPT_FREE | opt_flags, 0);
+
#ifdef FEAT_WINDOWS
/* This may cause the buffer to become (un)modified. */
check_status(curbuf);