changeset 71932:1db0596ea52a

(display_mode_line): Preserve match data.
author Thien-Thi Nguyen <ttn@gnuvola.org>
date Mon, 17 Jul 2006 07:46:05 +0000
parents 9fb7b6dfb4dc
children 17d892f7f048
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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 ();