Commit c3ada74f authored by Karl Heuer's avatar Karl Heuer
Browse files

(display_mode_line): Rename perdisplay to kboard.

parent fb917148
...@@ -2966,18 +2966,18 @@ display_mode_line (w) ...@@ -2966,18 +2966,18 @@ display_mode_line (w)
w->column_number_displayed = Qnil; w->column_number_displayed = Qnil;
get_display_line (f, vpos, left); get_display_line (f, vpos, left);
#ifdef MULTI_PERDISPLAY #ifdef MULTI_KBOARD
{ {
/* Sigh, mode-line-format can reference display-local variables like /* Sigh, mode-line-format can reference kboard-local variables like
defining-kbd-macro. Use the one associated with the frame we're defining-kbd-macro. Use the one associated with the frame we're
updating. */ updating. */
PERDISPLAY *orig_perdisplay = current_perdisplay; KBOARD *orig_kboard = current_kboard;
current_perdisplay = get_perdisplay (f); current_kboard = FRAME_KBOARD (f);
#endif #endif
display_mode_element (w, vpos, left, 0, right, right, display_mode_element (w, vpos, left, 0, right, right,
current_buffer->mode_line_format); current_buffer->mode_line_format);
#ifdef MULTI_PERDISPLAY #ifdef MULTI_KBOARD
current_perdisplay = orig_perdisplay; current_kboard = orig_kboard;
} }
#endif #endif
FRAME_DESIRED_GLYPHS (f)->bufp[vpos] = 0; FRAME_DESIRED_GLYPHS (f)->bufp[vpos] = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment