0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

Add a few #ifdefs to exclude functions that are not used. (Domnique Pelle)

This commit is contained in:
Bram Moolenaar
2010-05-30 19:00:15 +02:00
parent a17d4c1934
commit fd3e5dc97f
5 changed files with 13 additions and 4 deletions

View File

@@ -297,6 +297,8 @@ redrawWinline(lnum, invalid)
#endif
}
#if defined(FEAT_RUBY) || defined(FEAT_VISUAL) || \
(defined(FEAT_CLIPBOARD) && defined(FEAT_X11)) || defined(PROTO)
/*
* update all windows that are editing the current buffer
*/
@@ -307,6 +309,7 @@ update_curbuf(type)
redraw_curbuf_later(type);
update_screen(type);
}
#endif
/*
* update_screen()