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

Diff of /emacs/src/xdisp.c

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

revision 1.1043 by kfstorm, Sun Aug 21 20:58:03 2005 UTC revision 1.1044 by kfstorm, Fri Aug 26 11:04:16 2005 UTC
# Line 7697  resize_mini_window_1 (a1, exactly, a3, a Line 7697  resize_mini_window_1 (a1, exactly, a3, a
7697  /* Resize mini-window W to fit the size of its contents.  EXACT:P  /* Resize mini-window W to fit the size of its contents.  EXACT:P
7698     means size the window exactly to the size needed.  Otherwise, it's     means size the window exactly to the size needed.  Otherwise, it's
7699     only enlarged until W's buffer is empty.     only enlarged until W's buffer is empty.
7700      
7701     Set W->start to the right place to begin display.  If the whole     Set W->start to the right place to begin display.  If the whole
7702     contents fit, start at the beginning.  Otherwise, start so as     contents fit, start at the beginning.  Otherwise, start so as
7703     to make the end of the contents appear.  This is particularly     to make the end of the contents appear.  This is particularly
# Line 7786  resize_mini_window (w, exact_p) Line 7786  resize_mini_window (w, exact_p)
7786            init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID);            init_iterator (&it, w, ZV, ZV_BYTE, NULL, DEFAULT_FACE_ID);
7787            move_it_vertically_backward (&it, (height - 1) * unit);            move_it_vertically_backward (&it, (height - 1) * unit);
7788            start = it.current.pos;            start = it.current.pos;
           SET_PT_BOTH (CHARPOS (start), BYTEPOS (start));  
7789          }          }
7790        else        else
7791          SET_TEXT_POS (start, BEGV, BEGV_BYTE);          SET_TEXT_POS (start, BEGV, BEGV_BYTE);

Legend:
Removed from v.1.1043  
changed lines
  Added in v.1.1044

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