diff options
author | Miles Bader <miles@gnu.org> | 2004-01-17 03:31:26 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2004-01-17 03:31:26 +0000 |
commit | 7af0e8d77515d0da4d615c767628277667aa38c8 (patch) | |
tree | 6f5909014790dc7fbde386b0f708c74f4aba5bcc /src/dispnew.c | |
parent | a151ecffc93a869eb8713e5e723a5ea7f08df4f5 (diff) | |
download | emacs-7af0e8d77515d0da4d615c767628277667aa38c8.tar.gz emacs-7af0e8d77515d0da4d615c767628277667aa38c8.tar.bz2 emacs-7af0e8d77515d0da4d615c767628277667aa38c8.zip |
Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-41
Make fringe-drawing stuff compile without a window-system
* src/xdisp.c (Voverflow_newline_into_fringe)
(move_it_in_display_line_to, redisplay_internal)
(update_window_fringes, redisplay_window, display_line, window):
Add `#ifdef HAVE_WINDOW_SYSTEM' around fringe-drawing stuff, so
that it compiles without a window-system.
* src/dispnew.c (direct_output_for_insert, update_window): Likewise.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r-- | src/dispnew.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 0314e34ecb2..65d4726b1df 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -1,5 +1,5 @@ /* Updating of data structures for redisplay. - Copyright (C) 1985,86,87,88,93,94,95,97,98,1999,2000,01,02,2003 + Copyright (C) 1985,86,87,88,93,94,95,97,98,1999,2000,01,02,03,04 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -3655,7 +3655,9 @@ direct_output_for_insert (g) cursor_to (y, x); } +#ifdef HAVE_WINDOW_SYSTEM update_window_fringes (w, 0); +#endif if (rif) rif->update_window_end_hook (w, 1, 0); @@ -4194,7 +4196,9 @@ update_window (w, force_p) strcpy (w->current_matrix->method, w->desired_matrix->method); #endif +#ifdef HAVE_WINDOW_SYSTEM update_window_fringes (w, 0); +#endif /* End the update of window W. Don't set the cursor if we paused updating the display because in this case, |