commit | fd3e5dc97f06e54220a2c5b65980dd6adc2c5555 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun May 30 19:00:15 2010 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun May 30 19:00:15 2010 +0200 |
tree | 204e2445390797f1ea8751e7f1f7d242884f154d | |
parent | a17d4c1934b008b9aa8a2d7cf085cfe76a690d9a [diff] [blame] |
Add a few #ifdefs to exclude functions that are not used. (Domnique Pelle)
diff --git a/src/screen.c b/src/screen.c index 38d577e..df5489f 100644 --- a/src/screen.c +++ b/src/screen.c
@@ -297,6 +297,8 @@ #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 @@ redraw_curbuf_later(type); update_screen(type); } +#endif /* * update_screen()