From: Richard M. Stallman Date: Sun, 15 Sep 1996 02:01:50 +0000 (+0000) Subject: (command_loop_1): Test last_overlay_modified X-Git-Tag: emacs-20.1~3748 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=598ba4c7d53a8afaab75b3da9ed05381fcf89753;p=emacs.git (command_loop_1): Test last_overlay_modified along with last_modified. --- 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