# HG changeset patch # User Richard M. Stallman # Date 1130616222 0 # Node ID f9d0901bbb6161cd486a6756ca04f22089ba6f10 # Parent bcc5c444e119eaeacb25cae97f363339715dd66f (Fformat_mode_line): Clear mode_line_proptrans_alist after saving. diff -r bcc5c444e119 -r f9d0901bbb61 src/xdisp.c --- a/src/xdisp.c Sat Oct 29 19:52:29 2005 +0000 +++ b/src/xdisp.c Sat Oct 29 20:03:42 2005 +0000 @@ -16858,8 +16858,11 @@ 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));