Simpler handling for "always-on"/"always-off" options. #2002

'compatible' and 'edcompatible' are forced to be off.
'ttyfast' is forced to be on.
This commit is contained in:
Florian Walch
2015-02-17 19:04:22 +01:00
committed by Justin M. Keyes
parent 3e29231684
commit 0df6b9168e
3 changed files with 17 additions and 11 deletions

View File

@@ -630,6 +630,9 @@ EXTERN int p_wa; /* 'writeany' */
EXTERN int p_wb; /* 'writebackup' */
EXTERN long p_wd; /* 'writedelay' */
EXTERN int p_force_on; ///< options that cannot be turned off.
EXTERN int p_force_off; ///< options that cannot be turned on.
/*
* "indir" values for buffer-local opions.
* These need to be defined globally, so that the BV_COUNT can be used with