diff options
| author | Kim F. Storm | 2006-10-19 09:49:23 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-10-19 09:49:23 +0000 |
| commit | a4d2787c2db621248f1e8b1fb33a63c836fcae4d (patch) | |
| tree | 28dcdf7e70dd92e4e7fc7db7cd10be2ab4407897 /src | |
| parent | cc7aa8dc09aaebd07db4684d619fe682f7e8451c (diff) | |
| download | emacs-a4d2787c2db621248f1e8b1fb33a63c836fcae4d.tar.gz emacs-a4d2787c2db621248f1e8b1fb33a63c836fcae4d.zip | |
2006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
(display_mode_line): Clear enabled_p flag on mode-line row.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 5c017ad70c2..875d12a4816 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -16591,6 +16591,9 @@ display_mode_line (w, face_id, format) | |||
| 16591 | int count = SPECPDL_INDEX (); | 16591 | int count = SPECPDL_INDEX (); |
| 16592 | 16592 | ||
| 16593 | init_iterator (&it, w, -1, -1, NULL, face_id); | 16593 | init_iterator (&it, w, -1, -1, NULL, face_id); |
| 16594 | /* Don't extend on a previously drawn mode-line. | ||
| 16595 | This may happen if called from pos_visible_p. */ | ||
| 16596 | it.glyph_row->enabled_p = 0; | ||
| 16594 | prepare_desired_row (it.glyph_row); | 16597 | prepare_desired_row (it.glyph_row); |
| 16595 | 16598 | ||
| 16596 | it.glyph_row->mode_line_p = 1; | 16599 | it.glyph_row->mode_line_p = 1; |