From: Richard M. Stallman Date: Sat, 29 Oct 2005 20:03:42 +0000 (+0000) Subject: (Fformat_mode_line): Clear mode_line_proptrans_alist after saving. X-Git-Tag: emacs-pretest-22.0.90~6202 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=27f8fd9959de9a45eac38c22f62d87077ada9652;p=emacs.git (Fformat_mode_line): Clear mode_line_proptrans_alist after saving. --- 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));