/[emacs]/emacs/src/window.c
ViewVC logotype

Diff of /emacs/src/window.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.445.2.14 by miles, Fri Nov 19 06:54:57 2004 UTC revision 1.445.2.15 by miles, Wed Dec 8 05:02:19 2004 UTC
# Line 1611  decode_next_window_args (window, minibuf Line 1611  decode_next_window_args (window, minibuf
1611                     : Qnil);                     : Qnil);
1612    else if (EQ (*all_frames, Qvisible))    else if (EQ (*all_frames, Qvisible))
1613      ;      ;
1614    else if (XFASTINT (*all_frames) == 0)    else if (EQ (*all_frames, make_number (0)))
1615      ;      ;
1616    else if (FRAMEP (*all_frames))    else if (FRAMEP (*all_frames))
1617      ;      ;
# Line 1885  window_loop (type, obj, mini, frames) Line 1885  window_loop (type, obj, mini, frames)
1885    
1886    if (f)    if (f)
1887      frame_arg = Qlambda;      frame_arg = Qlambda;
1888    else if (XFASTINT (frames) == 0)    else if (EQ (frames, make_number (0)))
1889      frame_arg = frames;      frame_arg = frames;
1890    else if (EQ (frames, Qvisible))    else if (EQ (frames, Qvisible))
1891      frame_arg = frames;      frame_arg = frames;
# Line 2097  DEFUN ("get-lru-window", Fget_lru_window Line 2097  DEFUN ("get-lru-window", Fget_lru_window
2097         doc: /* Return the window least recently selected or used for display.         doc: /* Return the window least recently selected or used for display.
2098  Return a full-width window if possible.  Return a full-width window if possible.
2099  A minibuffer window is never a candidate.  A minibuffer window is never a candidate.
2100    A dedicated window is never a candidate, so if all windows are dedicated,
2101    the value is nil.
2102  If optional argument FRAME is `visible', search all visible frames.  If optional argument FRAME is `visible', search all visible frames.
2103  If FRAME is 0, search all visible and iconified frames.  If FRAME is 0, search all visible and iconified frames.
2104  If FRAME is t, search all frames.  If FRAME is t, search all frames.
# Line 2117  If FRAME is a frame, search only that fr Line 2119  If FRAME is a frame, search only that fr
2119  DEFUN ("get-largest-window", Fget_largest_window, Sget_largest_window, 0, 1, 0,  DEFUN ("get-largest-window", Fget_largest_window, Sget_largest_window, 0, 1, 0,
2120         doc: /* Return the largest window in area.         doc: /* Return the largest window in area.
2121  A minibuffer window is never a candidate.  A minibuffer window is never a candidate.
2122    A dedicated window is never a candidate, so if all windows are dedicated,
2123    the value is nil.
2124  If optional argument FRAME is `visible', search all visible frames.  If optional argument FRAME is `visible', search all visible frames.
2125  If FRAME is 0, search all visible and iconified frames.  If FRAME is 0, search all visible and iconified frames.
2126  If FRAME is t, search all frames.  If FRAME is t, search all frames.
# Line 2694  shrink_windows (total, size, nchildren, Line 2698  shrink_windows (total, size, nchildren,
2698              ++nonzero_sizes;              ++nonzero_sizes;
2699              nonzero_idx = i;              nonzero_idx = i;
2700            }            }
2701          
2702        for (i = 0; i < nchildren; ++i)        for (i = 0; i < nchildren; ++i)
2703          if (new_sizes[i] > min_size)          if (new_sizes[i] > min_size)
2704            {            {
# Line 3012  set_window_buffer (window, buffer, run_h Line 3016  set_window_buffer (window, buffer, run_h
3016    if (EQ (window, selected_window))    if (EQ (window, selected_window))
3017      b->last_selected_window = window;      b->last_selected_window = window;
3018    
3019      /* Let redisplay errors through.  */
3020      b->display_error_modiff = 0;
3021    
3022    /* Update time stamps of buffer display.  */    /* Update time stamps of buffer display.  */
3023    if (INTEGERP (b->display_count))    if (INTEGERP (b->display_count))
3024      XSETINT (b->display_count, XINT (b->display_count) + 1);      XSETINT (b->display_count, XINT (b->display_count) + 1);
# Line 6178  If TYPE is t, use the frame's scroll-bar Line 6185  If TYPE is t, use the frame's scroll-bar
6185    struct window *w = decode_window (window);    struct window *w = decode_window (window);
6186    
6187    if (!NILP (width))    if (!NILP (width))
6188      CHECK_NATNUM (width);      {
6189          CHECK_NATNUM (width);
6190    
6191    if (XINT (width) == 0)        if (XINT (width) == 0)
6192      vertical_type = Qnil;          vertical_type = Qnil;
6193        }
6194    
6195    if (!(EQ (vertical_type, Qnil)    if (!(EQ (vertical_type, Qnil)
6196          || EQ (vertical_type, Qleft)          || EQ (vertical_type, Qleft)

Legend:
Removed from v.1.445.2.14  
changed lines
  Added in v.1.445.2.15

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26