# HG changeset patch # User Thien-Thi Nguyen # Date 1153122365 0 # Node ID 1db0596ea52aa47616cb193ad454cea9f0418f23 # Parent 9fb7b6dfb4dce1e0512e06ad1ce067559e5810c1 (display_mode_line): Preserve match data. diff -r 9fb7b6dfb4dc -r 1db0596ea52a src/xdisp.c --- a/src/xdisp.c Mon Jul 17 04:20:41 2006 +0000 +++ b/src/xdisp.c Mon Jul 17 07:46:05 2006 +0000 @@ -16542,6 +16542,7 @@ kboard-local variables in the mode_line_format will get the right values. */ push_frame_kboard (it.f); + record_unwind_save_match_data (); display_mode_element (&it, 0, 0, 0, format, Qnil, 0); pop_frame_kboard ();