]> git.eshelyaron.com Git - emacs.git/commitdiff
(update_menu_bar): Reverse test of save_match_data.
authorKarl Heuer <kwzh@gnu.org>
Tue, 30 May 1995 18:46:24 +0000 (18:46 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 30 May 1995 18:46:24 +0000 (18:46 +0000)
src/xdisp.c

index 10837d26581199badf36076dafb32fbde9529d49..f711abded461ff9e282babed13f193355ed551c9 100644 (file)
@@ -1255,7 +1255,7 @@ update_menu_bar (f, save_match_data)
          struct buffer *prev = current_buffer;
          int count = specpdl_ptr - specpdl;
 
-         if (!save_match_data)
+         if (save_match_data)
            record_unwind_protect (Fstore_match_data, Fmatch_data ());
 
          call1 (Vrun_hooks, Qmenu_bar_update_hook);