]> git.eshelyaron.com Git - emacs.git/commitdiff
(display_mode_line): Preserve match data.
authorThien-Thi Nguyen <ttn@gnuvola.org>
Mon, 17 Jul 2006 07:47:41 +0000 (07:47 +0000)
committerThien-Thi Nguyen <ttn@gnuvola.org>
Mon, 17 Jul 2006 07:47:41 +0000 (07:47 +0000)
src/ChangeLog
src/xdisp.c

index cb73404cab21f08922d46e56b61f0c1a668c3a67..d3ff8fec6b9cedafc2e7f202e48f600d076aa370 100644 (file)
@@ -1,3 +1,7 @@
+2006-07-17  Thien-Thi Nguyen  <ttn@gnu.org>
+
+       * xdisp.c (display_mode_line): Preserve match data.
+
 2006-07-14  Kim F. Storm  <storm@cua.dk>
 
        * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs.
index d37f142e604b37d77b4fe7da8dcba39c77094dc4..9c6c18df435c745e7166c0e319725a0428160857 100644 (file)
@@ -16542,6 +16542,7 @@ display_mode_line (w, face_id, format)
      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 ();