mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -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:
@@ -1630,9 +1630,7 @@ buf_write(
|
||||
if (forceit && overwriting && vim_strchr(p_cpo, CPO_KEEPRO) == NULL)
|
||||
{
|
||||
buf->b_p_ro = FALSE;
|
||||
#ifdef FEAT_TITLE
|
||||
need_maketitle = TRUE; // set window title later
|
||||
#endif
|
||||
status_redraw_all(); // redraw status lines later
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user