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, 25 Feb 2003 07:33:07 -0500

Index: emacs/src/xdisp.c
diff -c emacs/src/xdisp.c:1.807 emacs/src/xdisp.c:1.808
*** emacs/src/xdisp.c:1.807     Mon Feb 24 02:57:55 2003
--- emacs/src/xdisp.c   Tue Feb 25 07:33:07 2003
***************
*** 10822,10827 ****
--- 10822,10835 ----
  
    if (!make_cursor_line_fully_visible (w))
      {
+       /* If vscroll is enabled, disable it and try again.  */
+       if (w->vscroll)
+       {
+         w->vscroll = 0;
+         clear_glyph_matrix (w->desired_matrix);
+         goto recenter;
+       }
+       
        /* If centering point failed to make the whole line visible,
         put point at the top instead.  That has to make the whole line
         visible, if it can be done.  */




reply via email to

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