[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 6083f33: Revert "Attempt to fix slow redisplay caus
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] master 6083f33: Revert "Attempt to fix slow redisplay caused by last changes" |
Date: |
Thu, 01 Oct 2015 18:05:37 +0000 |
branch: master
commit 6083f333ed38aa65f1d0a4c2bd7505a29e887444
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Revert "Attempt to fix slow redisplay caused by last changes"
* src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
(try_cursor_movement): Don't relax requirements for redisplay
optimizations for the selected frame. (Bug#21597)
This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.
---
src/xdisp.c | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/src/xdisp.c b/src/xdisp.c
index ce27af2..1524783 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -15442,7 +15442,7 @@ try_cursor_movement (Lisp_Object window, struct
text_pos startp,
&& !update_mode_lines
&& !windows_or_buffers_changed
&& !f->cursor_type_changed
- && !(f != SELECTED_FRAME () && f->redisplay)
+ && !f->redisplay
&& NILP (Vshow_trailing_whitespace)
/* This code is not used for mini-buffer for the sake of the case
of redisplaying to replace an echo area message; since in
@@ -17053,7 +17053,7 @@ try_window_reusing_current_matrix (struct window *w)
/* Don't try to reuse the display if windows have been split
or such. */
|| windows_or_buffers_changed
- || (f != SELECTED_FRAME () && f->redisplay)
+ || f->redisplay
|| f->cursor_type_changed)
return false;
@@ -17831,8 +17831,7 @@ try_window_id (struct window *w)
GIVE_UP (1);
/* This flag is used to prevent redisplay optimizations. */
- if (windows_or_buffers_changed || f->cursor_type_changed
- || (f != SELECTED_FRAME () && f->redisplay))
+ if (windows_or_buffers_changed || f->cursor_type_changed || f->redisplay)
GIVE_UP (2);
/* This function's optimizations cannot be used if overlays have
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 6083f33: Revert "Attempt to fix slow redisplay caused by last changes",
Eli Zaretskii <=