Mercurial > emacs
changeset 66539:f9d0901bbb61
(Fformat_mode_line): Clear mode_line_proptrans_alist after saving.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 29 Oct 2005 20:03:42 +0000 |
parents | bcc5c444e119 |
children | 7b888ab5ef0b |
files | src/xdisp.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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));