eval: Do not allocate b:changedtick dictionary item

This commit is contained in:
ZyX
2017-02-24 02:47:43 +03:00
parent 9c1865c7f8
commit cd8f07cb75
4 changed files with 21 additions and 19 deletions

View File

@@ -499,8 +499,9 @@ struct file_buffer {
int b_changed; // 'modified': Set to true if something in the
// file has been changed and not written out.
int b_changedtick; // incremented for each change, also for undo
varnumber_T *changedtick_val; // Pointer to the changedtick storage inside b:
/// Change identifier incremented for each change, including undo
#define b_changedtick changedtick_di.di_tv.vval.v_number
dictitem16_T changedtick_di; // b:changedtick dictionary item.
bool b_saving; /* Set to true if we are in the middle of
saving the buffer. */