aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman2005-10-29 20:03:42 +0000
committerRichard M. Stallman2005-10-29 20:03:42 +0000
commit27f8fd9959de9a45eac38c22f62d87077ada9652 (patch)
tree6162af5e1968fec86a141a4fe831b5a910f1a2f5 /src
parent3c4c00e6bf31177b434b74757ef356f7b6847c30 (diff)
downloademacs-27f8fd9959de9a45eac38c22f62d87077ada9652.tar.gz
emacs-27f8fd9959de9a45eac38c22f62d87077ada9652.zip
(Fformat_mode_line): Clear mode_line_proptrans_alist after saving.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c3
1 files changed, 3 insertions, 0 deletions
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). */)
16858 if (XBUFFER (buffer) != current_buffer) 16858 if (XBUFFER (buffer) != current_buffer)
16859 old_buffer = current_buffer; 16859 old_buffer = current_buffer;
16860 16860
16861 /* Save things including mode_line_proptrans_alist,
16862 and set that to nil so that we don't alter the outer value. */
16861 record_unwind_protect (unwind_format_mode_line, 16863 record_unwind_protect (unwind_format_mode_line,
16862 format_mode_line_unwind_data (old_buffer, 1)); 16864 format_mode_line_unwind_data (old_buffer, 1));
16865 mode_line_proptrans_alist = Qnil;
16863 16866
16864 if (old_buffer) 16867 if (old_buffer)
16865 set_buffer_internal_1 (XBUFFER (buffer)); 16868 set_buffer_internal_1 (XBUFFER (buffer));