diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xdisp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index dff53b80b86..90c36e495a2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -13433,8 +13433,10 @@ display_mode_lines (w) | |||
| 13433 | 13433 | ||
| 13434 | if (WINDOW_WANTS_MODELINE_P (w)) | 13434 | if (WINDOW_WANTS_MODELINE_P (w)) |
| 13435 | { | 13435 | { |
| 13436 | struct window *old_w = XWINDOW (old_selected_window); | ||
| 13437 | |||
| 13436 | /* Select mode line face based on the real selected window. */ | 13438 | /* Select mode line face based on the real selected window. */ |
| 13437 | display_mode_line (w, CURRENT_MODE_LINE_FACE_ID (old_selected_window), | 13439 | display_mode_line (w, CURRENT_MODE_LINE_FACE_ID (old_w), |
| 13438 | current_buffer->mode_line_format); | 13440 | current_buffer->mode_line_format); |
| 13439 | ++n; | 13441 | ++n; |
| 13440 | } | 13442 | } |