From 598ba4c7d53a8afaab75b3da9ed05381fcf89753 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 15 Sep 1996 02:01:50 +0000 Subject: [PATCH] (command_loop_1): Test last_overlay_modified along with last_modified. --- src/keyboard.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/keyboard.c b/src/keyboard.c index cb9ce1f9921..c6dbd5fcc94 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -1268,6 +1268,8 @@ command_loop_1 () : (lose >= 0x20 && lose < 0x7f)) && (XFASTINT (XWINDOW (selected_window)->last_modified) >= MODIFF) + && (XFASTINT (XWINDOW (selected_window)->last_overlay_modified) + >= OVERLAY_MODIFF) && (XFASTINT (XWINDOW (selected_window)->last_point) == PT - 1) && !windows_or_buffers_changed @@ -1292,6 +1294,8 @@ command_loop_1 () : (lose >= 0x20 && lose < 0x7f)) && (XFASTINT (XWINDOW (selected_window)->last_modified) >= MODIFF) + && (XFASTINT (XWINDOW (selected_window)->last_overlay_modified) + >= OVERLAY_MODIFF) && (XFASTINT (XWINDOW (selected_window)->last_point) == PT + 1) && !windows_or_buffers_changed @@ -1321,6 +1325,8 @@ command_loop_1 () } lose = ((XFASTINT (XWINDOW (selected_window)->last_modified) < MODIFF) + || (XFASTINT (XWINDOW (selected_window)->last_overlay_modified) + < OVERLAY_MODIFF) || (XFASTINT (XWINDOW (selected_window)->last_point) != PT) || MODIFF <= SAVE_MODIFF -- 2.39.2