emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/xdisp.c


From: Kim F. Storm
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c
Date: Sun, 16 Nov 2003 18:44:26 -0500

Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.851 emacs/src/xdisp.c:1.852
*** emacs/src/xdisp.c:1.851     Sun Nov 16 11:05:23 2003
--- emacs/src/xdisp.c   Sun Nov 16 18:44:22 2003
***************
*** 2201,2206 ****
--- 2201,2207 ----
  
    row = w->desired_matrix->rows + first_vpos;
    init_iterator (it, w, CHARPOS (pos), BYTEPOS (pos), row, DEFAULT_FACE_ID);
+   it->first_vpos = first_vpos;
  
    if (!it->truncate_lines_p)
      {
***************
*** 13092,13099 ****
    else
      {
        /* There are no reusable lines at the start of the window.
!        Start displaying in the first line.  */
        start_display (&it, w, start);
        start_pos = it.current.pos;
      }
  
--- 13093,13101 ----
    else
      {
        /* There are no reusable lines at the start of the window.
!        Start displaying in the first text line.  */
        start_display (&it, w, start);
+       it.vpos = it.first_vpos;
        start_pos = it.current.pos;
      }
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]