]> git.eshelyaron.com Git - emacs.git/commitdiff
(command_loop_1): Test last_overlay_modified
authorRichard M. Stallman <rms@gnu.org>
Sun, 15 Sep 1996 02:01:50 +0000 (02:01 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 15 Sep 1996 02:01:50 +0000 (02:01 +0000)
along with last_modified.

src/keyboard.c

index cb9ce1f9921f7706d90ae7af36d9ca67bc80a98b..c6dbd5fcc94ad3d5e35dd1a8734593ae0980d234 100644 (file)
@@ -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