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: Fri, 21 Apr 2006 21:25:20 +0000

Index: emacs/src/xdisp.c
diff -u emacs/src/xdisp.c:1.1089 emacs/src/xdisp.c:1.1090
--- emacs/src/xdisp.c:1.1089    Thu Apr 20 23:03:03 2006
+++ emacs/src/xdisp.c   Fri Apr 21 21:25:20 2006
@@ -12862,7 +12862,8 @@
       /* If first window line is a continuation line, and window start
         is inside the modified region, but the first change is before
         current window start, we must select a new window start.*/
-      if (NILP (w->start_at_line_beg))
+      if (NILP (w->start_at_line_beg)
+         && CHARPOS (startp) > BEGV)
        {
          /* Make sure beg_unchanged and end_unchanged are up to date.
             Do it only if buffer has really changed.  This may or may




reply via email to

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