From 27f8fd9959de9a45eac38c22f62d87077ada9652 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 29 Oct 2005 20:03:42 +0000 Subject: [PATCH] (Fformat_mode_line): Clear mode_line_proptrans_alist after saving. --- src/xdisp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xdisp.c b/src/xdisp.c index 88090f7b212..a4ac52476bf 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -16858,8 +16858,11 @@ are the selected window and the window's buffer). */) if (XBUFFER (buffer) != current_buffer) old_buffer = current_buffer; + /* Save things including mode_line_proptrans_alist, + and set that to nil so that we don't alter the outer value. */ record_unwind_protect (unwind_format_mode_line, format_mode_line_unwind_data (old_buffer, 1)); + mode_line_proptrans_alist = Qnil; if (old_buffer) set_buffer_internal_1 (XBUFFER (buffer)); -- 2.39.5