Mercurial > emacs
changeset 73433:0171e23e0786
2006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
(display_mode_line): Clear enabled_p flag on mode-line row.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Thu, 19 Oct 2006 09:49:23 +0000 |
parents | 0fd4fe66f00d |
children | 3586ad4a01a1 |
files | src/xdisp.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Thu Oct 19 09:48:55 2006 +0000 +++ b/src/xdisp.c Thu Oct 19 09:49:23 2006 +0000 @@ -16591,6 +16591,9 @@ int count = SPECPDL_INDEX (); init_iterator (&it, w, -1, -1, NULL, face_id); + /* Don't extend on a previously drawn mode-line. + This may happen if called from pos_visible_p. */ + it.glyph_row->enabled_p = 0; prepare_desired_row (it.glyph_row); it.glyph_row->mode_line_p = 1;