buffer: Move b_p_ma(modifiable) checks into the MODIFIABLE macro

This commit is contained in:
Thiago de Arruda
2015-03-05 18:07:15 -03:00
parent 8b6b06c2e0
commit b16c5bf5e6
10 changed files with 21 additions and 18 deletions

View File

@@ -27,6 +27,8 @@
// for String
#include "nvim/api/private/defs.h"
#define MODIFIABLE(buf) (buf->b_p_ma)
/*
* Flags for w_valid.
* These are set when something in a window structure becomes invalid, except