]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fformat_mode_line): Clear mode_line_proptrans_alist after saving.
authorRichard M. Stallman <rms@gnu.org>
Sat, 29 Oct 2005 20:03:42 +0000 (20:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 29 Oct 2005 20:03:42 +0000 (20:03 +0000)
src/xdisp.c

index 88090f7b2123709beeb3ccaa5126dd4021d17104..a4ac52476bf4db7637b495f68bce0cc61b34fe2f 100644 (file)
@@ -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));