aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThien-Thi Nguyen2006-07-17 07:47:41 +0000
committerThien-Thi Nguyen2006-07-17 07:47:41 +0000
commitce7d5efe33cb969629e7820928e70819a1280d33 (patch)
treef77c0f53c533733424dec211b4d4a58ec89fae03 /src
parentc9abd530020ee72a61b698f15d573619d7a4971b (diff)
downloademacs-ce7d5efe33cb969629e7820928e70819a1280d33.tar.gz
emacs-ce7d5efe33cb969629e7820928e70819a1280d33.zip
(display_mode_line): Preserve match data.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/xdisp.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cb73404cab2..d3ff8fec6b9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12006-07-17 Thien-Thi Nguyen <ttn@gnu.org>
2
3 * xdisp.c (display_mode_line): Preserve match data.
4
12006-07-14 Kim F. Storm <storm@cua.dk> 52006-07-14 Kim F. Storm <storm@cua.dk>
2 6
3 * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs. 7 * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs.
diff --git a/src/xdisp.c b/src/xdisp.c
index d37f142e604..9c6c18df435 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -16542,6 +16542,7 @@ display_mode_line (w, face_id, format)
16542 kboard-local variables in the mode_line_format will get the right 16542 kboard-local variables in the mode_line_format will get the right
16543 values. */ 16543 values. */
16544 push_frame_kboard (it.f); 16544 push_frame_kboard (it.f);
16545 record_unwind_save_match_data ();
16545 display_mode_element (&it, 0, 0, 0, format, Qnil, 0); 16546 display_mode_element (&it, 0, 0, 0, format, Qnil, 0);
16546 pop_frame_kboard (); 16547 pop_frame_kboard ();
16547 16548