Commit 27f8fd99 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fformat_mode_line): Clear mode_line_proptrans_alist after saving.

parent 3c4c00e6
......@@ -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));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment