From eac4251ca6fb1bcbfef792b559c008a8c9064895 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 30 May 1995 18:46:24 +0000 Subject: [PATCH] (update_menu_bar): Reverse test of save_match_data. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 10837d26581..f711abded46 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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); -- 2.39.2