aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/xdisp.c14
2 files changed, 11 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 1062db5d5da..951205e8978 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,10 @@
12000-12-11 Gerd Moellmann <gerd@gnu.org> 12000-12-11 Gerd Moellmann <gerd@gnu.org>
2 2
3 * xdisp.c (try_cursor_movement): Check update_mode_lines instead
4 of the window's update_mode_line flag, since the former is set by
5 force-mode-line-update, not the latter. This makes
6 column-number-mode slightly faster.
7
3 * xdisp.c (try_window_id) <all changes above window start>: 8 * xdisp.c (try_window_id) <all changes above window start>:
4 Set the cursor. 9 Set the cursor.
5 10
diff --git a/src/xdisp.c b/src/xdisp.c
index 444c7696f68..6e0b565b264 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -9144,16 +9144,14 @@ try_cursor_movement (window, startp, scroll_step)
9144 not moved off the frame. */ 9144 not moved off the frame. */
9145 if (/* Point may be in this window. */ 9145 if (/* Point may be in this window. */
9146 PT >= CHARPOS (startp) 9146 PT >= CHARPOS (startp)
9147 /* If we don't check this, we are called to move the cursor in a
9148 horizontally split window with a current matrix that doesn't
9149 fit the display. */
9150 && !windows_or_buffers_changed
9151 /* Selective display hasn't changed. */ 9147 /* Selective display hasn't changed. */
9152 && !current_buffer->clip_changed 9148 && !current_buffer->clip_changed
9153 /* If force-mode-line-update was called, really redisplay; 9149 /* Function force-mode-line-update is used to force a thorough
9154 that's how redisplay is forced after e.g. changing 9150 redisplay. It sets either windows_or_buffers_changed or
9155 buffer-invisibility-spec. */ 9151 update_mode_lines. So don't take a shortcut here for these
9156 && NILP (w->update_mode_line) 9152 cases. */
9153 && !update_mode_lines
9154 && !windows_or_buffers_changed
9157 /* Can't use this case if highlighting a region. When a 9155 /* Can't use this case if highlighting a region. When a
9158 region exists, cursor movement has to do more than just 9156 region exists, cursor movement has to do more than just
9159 set the cursor. */ 9157 set the cursor. */