diff options
author | Karl Heuer <[email protected]> | 1995-03-15 01:50:20 +0000 |
---|---|---|
committer | Karl Heuer <[email protected]> | 1995-03-15 01:50:20 +0000 |
commit | c3ada74f7865aa4f53cf7f16075fc164be729380 (patch) | |
tree | d5371b5b9a8409b187c3436efcb45cefdfa36c3d /src/xdisp.c | |
parent | fb917148ce7aa109dd9ae082ce9edeb5de93b40a (diff) |
(display_mode_line): Rename perdisplay to kboard.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r-- | src/xdisp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 4fa1c4a909..e6b4021e1f 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -2966,18 +2966,18 @@ display_mode_line (w) w->column_number_displayed = Qnil; 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 updating. */ - PERDISPLAY *orig_perdisplay = current_perdisplay; - current_perdisplay = get_perdisplay (f); + KBOARD *orig_kboard = current_kboard; + current_kboard = FRAME_KBOARD (f); #endif display_mode_element (w, vpos, left, 0, right, right, current_buffer->mode_line_format); -#ifdef MULTI_PERDISPLAY - current_perdisplay = orig_perdisplay; +#ifdef MULTI_KBOARD + current_kboard = orig_kboard; } #endif FRAME_DESIRED_GLYPHS (f)->bufp[vpos] = 0; |