# HG changeset patch # User Jim Blandy # Date 731060423 0 # Node ID 37c45885540a54a6b09aaeabb6914ae08923ce98 # Parent 0f88f314fc348dc32744067a9031b840cc0be780 * xdisp.c (redisplay): Protect calls to request_sigio and unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined Use the term `scroll bar', instead of `scrollbar'. * alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h, lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c, xterm.c, xterm.h: Terminology changed. diff -r 0f88f314fc34 -r 37c45885540a src/xdisp.c --- a/src/xdisp.c Tue Mar 02 08:16:49 1993 +0000 +++ b/src/xdisp.c Tue Mar 02 08:20:23 1993 +0000 @@ -512,18 +512,18 @@ FOR_EACH_FRAME (tail, f) { - /* Mark all the scrollbars to be removed; we'll redeem the ones + /* Mark all the scroll bars to be removed; we'll redeem the ones we want when we redisplay their windows. */ - if (condemn_scrollbars_hook) - (*condemn_scrollbars_hook) (f); + if (condemn_scroll_bars_hook) + (*condemn_scroll_bars_hook) (f); if (FRAME_VISIBLE_P (f)) redisplay_windows (FRAME_ROOT_WINDOW (f)); - /* Any scrollbars which redisplay_windows should have nuked + /* Any scroll bars which redisplay_windows should have nuked should now go away. */ - if (judge_scrollbars_hook) - (*judge_scrollbars_hook) (f); + if (judge_scroll_bars_hook) + (*judge_scroll_bars_hook) (f); } } else if (FRAME_VISIBLE_P (selected_frame)) @@ -760,7 +760,7 @@ { if (echo_area_glyphs) /* We've already displayed the echo area glyphs, if any. */ - goto finish_scrollbars; + goto finish_scroll_bars; } else { @@ -775,7 +775,7 @@ display_string (w, vpos + i, "", 0, 0, 0, width); } - goto finish_scrollbars; + goto finish_scroll_bars; } } @@ -979,8 +979,8 @@ && height != XFASTINT (w->height)) display_mode_line (w); - finish_scrollbars: - if (FRAME_HAS_VERTICAL_SCROLLBARS (f)) + finish_scroll_bars: + if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) { int start, end, whole; @@ -998,12 +998,12 @@ else start = end = whole = 0; - /* Indicate what this scrollbar ought to be displaying now. */ - (*set_vertical_scrollbar_hook) (w, end - start, whole, start - 1); + /* Indicate what this scroll bar ought to be displaying now. */ + (*set_vertical_scroll_bar_hook) (w, end - start, whole, start - 1); - /* Note that we actually used the scrollbar attached to this window, + /* Note that we actually used the scroll bar attached to this window, so it shouldn't be deleted at the end of redisplay. */ - (*redeem_scrollbar_hook) (w); + (*redeem_scroll_bar_hook) (w); } SET_PT (opoint); @@ -1761,11 +1761,11 @@ if (p1 < startp) p1 = startp; while (p1 < endp) *p1++ = SPACEGLYPH; - /* Don't draw vertical bars if we're using scrollbars. They're - covered up by the scrollbars, and it's distracting to see - them when the scrollbar windows are flickering around to be + /* Don't draw vertical bars if we're using scroll bars. They're + covered up by the scroll bars, and it's distracting to see + them when the scroll bar windows are flickering around to be reconfigured. */ - *p1++ = (FRAME_HAS_VERTICAL_SCROLLBARS (f) + *p1++ = (FRAME_HAS_VERTICAL_SCROLL_BARS (f) ? ' ' : '|'); } desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos], @@ -2258,11 +2258,11 @@ if ((window_width + XFASTINT (w->left)) != FRAME_WIDTH (f)) { - if (FRAME_HAS_VERTICAL_SCROLLBARS (f)) + if (FRAME_HAS_VERTICAL_SCROLL_BARS (f)) { int i; - for (i = 0; i < VERTICAL_SCROLLBAR_WIDTH; i++) + for (i = 0; i < VERTICAL_SCROLL_BAR_WIDTH; i++) *end-- = ' '; } else