comparison src/screen.c @ 2237:770485470e59 vim73

Add a few #ifdefs to exclude functions that are not used. (Domnique Pelle)
author Bram Moolenaar <bram@vim.org>
date Sun, 30 May 2010 19:00:15 +0200
parents 8c6a66e2b3cc
children 1bac28a53fae
comparison
equal deleted inserted replaced
2236:dc2e5ec0500d 2237:770485470e59
295 curwin->w_lines[i].wl_valid = FALSE; 295 curwin->w_lines[i].wl_valid = FALSE;
296 } 296 }
297 #endif 297 #endif
298 } 298 }
299 299
300 #if defined(FEAT_RUBY) || defined(FEAT_VISUAL) || \
301 (defined(FEAT_CLIPBOARD) && defined(FEAT_X11)) || defined(PROTO)
300 /* 302 /*
301 * update all windows that are editing the current buffer 303 * update all windows that are editing the current buffer
302 */ 304 */
303 void 305 void
304 update_curbuf(type) 306 update_curbuf(type)
305 int type; 307 int type;
306 { 308 {
307 redraw_curbuf_later(type); 309 redraw_curbuf_later(type);
308 update_screen(type); 310 update_screen(type);
309 } 311 }
312 #endif
310 313
311 /* 314 /*
312 * update_screen() 315 * update_screen()
313 * 316 *
314 * Based on the current value of curwin->w_topline, transfer a screenfull 317 * Based on the current value of curwin->w_topline, transfer a screenfull