mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
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:
@@ -2253,10 +2253,8 @@ apply_autocmds_group(
|
||||
|| event == EVENT_VIMLEAVE
|
||||
|| event == EVENT_VIMLEAVEPRE))
|
||||
{
|
||||
#ifdef FEAT_TITLE
|
||||
if (curbuf->b_changed != save_changed)
|
||||
need_maketitle = TRUE;
|
||||
#endif
|
||||
curbuf->b_changed = save_changed;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user