summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-30 18:46:24 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-30 18:46:24 +0000
commiteac4251ca6fb1bcbfef792b559c008a8c9064895 (patch)
tree90aa1c050dd308b76ddd6fd95b92e0403c7ee571 /src/xdisp.c
parent4809d0dd988ea98407e03e407fd4fd249e7f5bd8 (diff)
downloademacs-eac4251ca6fb1bcbfef792b559c008a8c9064895.tar.gz
(update_menu_bar): Reverse test of save_match_data.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
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);