diff options
| author | Jim Blandy | 1993-06-30 21:30:25 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-06-30 21:30:25 +0000 |
| commit | 82d04750c707566019f34b3fd979758b0170b403 (patch) | |
| tree | c2b01d127d1a72d9b8827324b3507c1e82fd63b7 /src | |
| parent | 0bf0c097bd2d63421fa65deaab18845e0a088372 (diff) | |
| download | emacs-82d04750c707566019f34b3fd979758b0170b403.tar.gz emacs-82d04750c707566019f34b3fd979758b0170b403.zip | |
* xdisp.c (redisplay): If we're not already showing the region,
then don't disable the single-line optimizations just because the
mark isn't where we last displayed it.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 33e58eb95f4..a716a25c3e5 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -435,8 +435,9 @@ redisplay () | |||
| 435 | if (((!NILP (Vtransient_mark_mode) | 435 | if (((!NILP (Vtransient_mark_mode) |
| 436 | && !NILP (XBUFFER (w->buffer)->mark_active)) | 436 | && !NILP (XBUFFER (w->buffer)->mark_active)) |
| 437 | != !NILP (w->region_showing)) | 437 | != !NILP (w->region_showing)) |
| 438 | || !EQ (w->region_showing, | 438 | || (!NILP (w->region_showing) |
| 439 | Fmarker_position (XBUFFER (w->buffer)->mark))) | 439 | && !EQ (w->region_showing, |
| 440 | Fmarker_position (XBUFFER (w->buffer)->mark)))) | ||
| 440 | this_line_bufpos = -1; | 441 | this_line_bufpos = -1; |
| 441 | 442 | ||
| 442 | tlbufpos = this_line_bufpos; | 443 | tlbufpos = this_line_bufpos; |