updated for version 7.3.745
Problem: Automatically setting 'ttymouse' doesn't work.
Solution: Reset the "option was set" flag when using the default.
diff --git a/src/option.c b/src/option.c
index 2ab0770..d8eb314 100644
--- a/src/option.c
+++ b/src/option.c
@@ -11179,6 +11179,19 @@
}
/*
+ * Reset the flag indicating option "name" was set.
+ */
+ void
+reset_option_was_set(name)
+ char_u *name;
+{
+ int idx = findoption(name);
+
+ if (idx >= 0)
+ options[idx].flags &= ~P_WAS_SET;
+}
+
+/*
* compatible_set() - Called when 'compatible' has been set or unset.
*
* When 'compatible' set: Set all relevant options (those that have the P_VIM)