HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95797ed
)
(redisplay_window): Fix last change. Don't recenter if
author
Kim F. Storm
<storm@cua.dk>
Fri, 21 Apr 2006 21:25:20 +0000
(21:25 +0000)
committer
Kim F. Storm
<storm@cua.dk>
Fri, 21 Apr 2006 21:25:20 +0000
(21:25 +0000)
window start is at BEGV.
src/xdisp.c
patch
|
blob
|
blame
|
history
diff --git
a/src/xdisp.c
b/src/xdisp.c
index
b4ebd59
..
5fed86d
100644
(file)
--- a/
src/xdisp.c
+++ b/
src/xdisp.c
@@
-12862,7
+12862,8
@@
redisplay_window (window, just_this_one_p)
/* 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