summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-10-10 21:30:56 +0000
committerRichard M. Stallman <rms@gnu.org>1994-10-10 21:30:56 +0000
commit8da590f659300fffd169c88c0efabccbd1e36af9 (patch)
treefb649aa451fa7a720e4d08e6e8ee1e41d04aac15 /src/xdisp.c
parent5308614ca1f25921a3bcaf4b70b0e35e65138ea0 (diff)
downloademacs-8da590f659300fffd169c88c0efabccbd1e36af9.tar.gz
(redisplay_window): Fix Oct 1 change:
don't call cancel_my_columns unless we will call try_window.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 7b464dfa74e..9b476a7f29b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -1186,10 +1186,12 @@ redisplay_window (window, just_this_one)
}
/* If we are highlighting the region,
then we just changed the region, so redisplay to show it. */
- cancel_my_columns (XWINDOW (window));
if (!NILP (Vtransient_mark_mode)
&& !NILP (current_buffer->mark_active))
- try_window (window, startp);
+ {
+ cancel_my_columns (XWINDOW (window));
+ try_window (window, startp);
+ }
}
goto done;
}