diff options
| author | Jim Blandy | 1992-02-03 21:41:25 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-02-03 21:41:25 +0000 |
| commit | 05ba02ebb44c3b456a3cd8729ac4c4d7121f0e79 (patch) | |
| tree | 36a67bbd4ab3c38d1f3fa00487b4d9fd97e6dc3c /src | |
| parent | b86e8615950df9807ee33e987aecbb204f2f9ffa (diff) | |
| download | emacs-05ba02ebb44c3b456a3cd8729ac4c4d7121f0e79.tar.gz emacs-05ba02ebb44c3b456a3cd8729ac4c4d7121f0e79.zip | |
*** empty log message ***
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 86be201caf7..82a92d5a689 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -407,6 +407,13 @@ redisplay () | |||
| 407 | && (XFASTINT (w->last_modified) >= MODIFF | 407 | && (XFASTINT (w->last_modified) >= MODIFF |
| 408 | || (beg_unchanged >= tlbufpos - 1 | 408 | || (beg_unchanged >= tlbufpos - 1 |
| 409 | && GPT >= tlbufpos | 409 | && GPT >= tlbufpos |
| 410 | /* If selective display, can't optimize | ||
| 411 | if the changes start at the beginning of the line. */ | ||
| 412 | && ((XTYPE (current_buffer->selective_display) == Lisp_Int | ||
| 413 | && XINT (current_buffer->selective_display) > 0 | ||
| 414 | ? (beg_unchanged >= tlbufpos | ||
| 415 | && GPT > tlbufpos) | ||
| 416 | : 1)) | ||
| 410 | && end_unchanged >= tlendpos | 417 | && end_unchanged >= tlendpos |
| 411 | && Z - GPT >= tlendpos))) | 418 | && Z - GPT >= tlendpos))) |
| 412 | { | 419 | { |
| @@ -1081,7 +1088,12 @@ try_window_id (window) | |||
| 1081 | /* If about to start displaying at the beginning of a continuation line, | 1088 | /* If about to start displaying at the beginning of a continuation line, |
| 1082 | really start with previous screen line, in case it was not | 1089 | really start with previous screen line, in case it was not |
| 1083 | continued when last redisplayed */ | 1090 | continued when last redisplayed */ |
| 1084 | if (bp.contin && bp.bufpos - 1 == beg_unchanged && vpos > 0) | 1091 | if ((bp.contin && bp.bufpos - 1 == beg_unchanged && vpos > 0) |
| 1092 | || | ||
| 1093 | /* Likewise if we have to worry about selective display. */ | ||
| 1094 | (XTYPE (current_buffer->selective_display) == Lisp_Int | ||
| 1095 | && XINT (current_buffer->selective_display) > 0 | ||
| 1096 | && bp.bufpos - 1 == beg_unchanged && vpos > 0)) | ||
| 1085 | { | 1097 | { |
| 1086 | bp = *vmotion (bp.bufpos, -1, width, hscroll, window); | 1098 | bp = *vmotion (bp.bufpos, -1, width, hscroll, window); |
| 1087 | --vpos; | 1099 | --vpos; |