forked from aniani/vim
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
Problem: The +title feature adds a lot of #ifdef but little code. Solution: Graduate the +title feature.
This commit is contained in:
@@ -146,9 +146,7 @@ changed_internal(void)
|
||||
ml_setflags(curbuf);
|
||||
check_status(curbuf);
|
||||
redraw_tabline = TRUE;
|
||||
#ifdef FEAT_TITLE
|
||||
need_maketitle = TRUE; // set window title later
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef FEAT_EVAL
|
||||
@@ -892,9 +890,7 @@ unchanged(buf_T *buf, int ff, int always_inc_changedtick)
|
||||
save_file_ff(buf);
|
||||
check_status(buf);
|
||||
redraw_tabline = TRUE;
|
||||
#ifdef FEAT_TITLE
|
||||
need_maketitle = TRUE; // set window title later
|
||||
#endif
|
||||
++CHANGEDTICK(buf);
|
||||
}
|
||||
else if (always_inc_changedtick)
|
||||
|
Reference in New Issue
Block a user