aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-03-02 08:20:23 +0000
committerJim Blandy1993-03-02 08:20:23 +0000
commit88f22aff6a9e1a74292dce5f515c069d42d7a459 (patch)
treed27d61dcfd85d0bb23ab77d2fd8c5e616adef706 /src
parent8b24d146ec26a89533bf694a8c4db84d7a13cfc6 (diff)
downloademacs-88f22aff6a9e1a74292dce5f515c069d42d7a459.tar.gz
emacs-88f22aff6a9e1a74292dce5f515c069d42d7a459.zip
* 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.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 7acd1bfa9e1..05ea6195c66 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -512,18 +512,18 @@ redisplay ()
512 512
513 FOR_EACH_FRAME (tail, f) 513 FOR_EACH_FRAME (tail, f)
514 { 514 {
515 /* Mark all the scrollbars to be removed; we'll redeem the ones 515 /* Mark all the scroll bars to be removed; we'll redeem the ones
516 we want when we redisplay their windows. */ 516 we want when we redisplay their windows. */
517 if (condemn_scrollbars_hook) 517 if (condemn_scroll_bars_hook)
518 (*condemn_scrollbars_hook) (f); 518 (*condemn_scroll_bars_hook) (f);
519 519
520 if (FRAME_VISIBLE_P (f)) 520 if (FRAME_VISIBLE_P (f))
521 redisplay_windows (FRAME_ROOT_WINDOW (f)); 521 redisplay_windows (FRAME_ROOT_WINDOW (f));
522 522
523 /* Any scrollbars which redisplay_windows should have nuked 523 /* Any scroll bars which redisplay_windows should have nuked
524 should now go away. */ 524 should now go away. */
525 if (judge_scrollbars_hook) 525 if (judge_scroll_bars_hook)
526 (*judge_scrollbars_hook) (f); 526 (*judge_scroll_bars_hook) (f);
527 } 527 }
528 } 528 }
529 else if (FRAME_VISIBLE_P (selected_frame)) 529 else if (FRAME_VISIBLE_P (selected_frame))
@@ -760,7 +760,7 @@ redisplay_window (window, just_this_one)
760 { 760 {
761 if (echo_area_glyphs) 761 if (echo_area_glyphs)
762 /* We've already displayed the echo area glyphs, if any. */ 762 /* We've already displayed the echo area glyphs, if any. */
763 goto finish_scrollbars; 763 goto finish_scroll_bars;
764 } 764 }
765 else 765 else
766 { 766 {
@@ -775,7 +775,7 @@ redisplay_window (window, just_this_one)
775 display_string (w, vpos + i, "", 0, 0, 0, width); 775 display_string (w, vpos + i, "", 0, 0, 0, width);
776 } 776 }
777 777
778 goto finish_scrollbars; 778 goto finish_scroll_bars;
779 } 779 }
780 } 780 }
781 781
@@ -979,8 +979,8 @@ done:
979 && height != XFASTINT (w->height)) 979 && height != XFASTINT (w->height))
980 display_mode_line (w); 980 display_mode_line (w);
981 981
982 finish_scrollbars: 982 finish_scroll_bars:
983 if (FRAME_HAS_VERTICAL_SCROLLBARS (f)) 983 if (FRAME_HAS_VERTICAL_SCROLL_BARS (f))
984 { 984 {
985 int start, end, whole; 985 int start, end, whole;
986 986
@@ -998,12 +998,12 @@ done:
998 else 998 else
999 start = end = whole = 0; 999 start = end = whole = 0;
1000 1000
1001 /* Indicate what this scrollbar ought to be displaying now. */ 1001 /* Indicate what this scroll bar ought to be displaying now. */
1002 (*set_vertical_scrollbar_hook) (w, end - start, whole, start - 1); 1002 (*set_vertical_scroll_bar_hook) (w, end - start, whole, start - 1);
1003 1003
1004 /* Note that we actually used the scrollbar attached to this window, 1004 /* Note that we actually used the scroll bar attached to this window,
1005 so it shouldn't be deleted at the end of redisplay. */ 1005 so it shouldn't be deleted at the end of redisplay. */
1006 (*redeem_scrollbar_hook) (w); 1006 (*redeem_scroll_bar_hook) (w);
1007 } 1007 }
1008 1008
1009 SET_PT (opoint); 1009 SET_PT (opoint);
@@ -1761,11 +1761,11 @@ display_text_line (w, start, vpos, hpos, taboffset)
1761 if (p1 < startp) p1 = startp; 1761 if (p1 < startp) p1 = startp;
1762 while (p1 < endp) *p1++ = SPACEGLYPH; 1762 while (p1 < endp) *p1++ = SPACEGLYPH;
1763 1763
1764 /* Don't draw vertical bars if we're using scrollbars. They're 1764 /* Don't draw vertical bars if we're using scroll bars. They're
1765 covered up by the scrollbars, and it's distracting to see 1765 covered up by the scroll bars, and it's distracting to see
1766 them when the scrollbar windows are flickering around to be 1766 them when the scroll bar windows are flickering around to be
1767 reconfigured. */ 1767 reconfigured. */
1768 *p1++ = (FRAME_HAS_VERTICAL_SCROLLBARS (f) 1768 *p1++ = (FRAME_HAS_VERTICAL_SCROLL_BARS (f)
1769 ? ' ' : '|'); 1769 ? ' ' : '|');
1770 } 1770 }
1771 desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos], 1771 desired_glyphs->used[vpos] = max (desired_glyphs->used[vpos],
@@ -2258,11 +2258,11 @@ display_string (w, vpos, string, hpos, truncate, mincol, maxcol)
2258 2258
2259 if ((window_width + XFASTINT (w->left)) != FRAME_WIDTH (f)) 2259 if ((window_width + XFASTINT (w->left)) != FRAME_WIDTH (f))
2260 { 2260 {
2261 if (FRAME_HAS_VERTICAL_SCROLLBARS (f)) 2261 if (FRAME_HAS_VERTICAL_SCROLL_BARS (f))
2262 { 2262 {
2263 int i; 2263 int i;
2264 2264
2265 for (i = 0; i < VERTICAL_SCROLLBAR_WIDTH; i++) 2265 for (i = 0; i < VERTICAL_SCROLL_BAR_WIDTH; i++)
2266 *end-- = ' '; 2266 *end-- = ' ';
2267 } 2267 }
2268 else 2268 else