texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[7712] always save updated match state for a window


From: gavinsmith0123
Subject: [7712] always save updated match state for a window
Date: Sun, 9 Apr 2017 15:04:15 -0400 (EDT)

Revision: 7712
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7712
Author:   gavin
Date:     2017-04-09 15:04:15 -0400 (Sun, 09 Apr 2017)
Log Message:
-----------
always save updated match state for a window

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/session.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-04-09 15:14:14 UTC (rev 7711)
+++ trunk/ChangeLog     2017-04-09 19:04:15 UTC (rev 7712)
@@ -1,5 +1,10 @@
 2017-04-09  Gavin Smith  <address@hidden>
 
+       * info/session.c (info_search_in_node_internal): Always save
+       the updated match state for a window.
+
+2017-04-09  Gavin Smith  <address@hidden>
+
        * info/search.c (match_in_match_list): Combine code for 
        searching backwards and forwards, and do not get all the matches 
        in the node if searching backwards.

Modified: trunk/info/session.c
===================================================================
--- trunk/info/session.c        2017-04-09 15:14:14 UTC (rev 7711)
+++ trunk/info/session.c        2017-04-09 19:04:15 UTC (rev 7712)
@@ -4001,8 +4001,7 @@
   if (window->node != node)
     info_set_node_of_window (window, node);
 
-  if (!matches_ready (&window->matches))
-    window->matches = matches;
+  window->matches = matches;
 
   if (isearch_is_active && dir > 0)
     new_point = match_by_index (&matches, match_index).rm_eo;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]