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: Tue, 16 Nov 2004 19:48:55 -0500

Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.935 emacs/src/xdisp.c:1.936
*** emacs/src/xdisp.c:1.935     Tue Nov 16 15:41:41 2004
--- emacs/src/xdisp.c   Wed Nov 17 00:27:37 2004
***************
*** 20068,20073 ****
--- 20068,20078 ----
    if (!cursor_row->enabled_p)
      goto mark_cursor_off;
  
+   /* If line spacing is > 0, old cursor may only be partially visible in
+      window after split-window.  So adjust visible height.  */
+   cursor_row->visible_height = min (cursor_row->visible_height,
+                                   window_text_bottom_y (w) - cursor_row->y);
+ 
    /* If row is completely invisible, don't attempt to delete a cursor which
       isn't there.  This can happen if cursor is at top of a window, and
       we switch to a buffer with a header line in that window.  */




reply via email to

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