Mercurial > emacs
diff src/xterm.c @ 11544:cc965273a769
(x_term_init): If the previous kboard was the dummy one,
switch to the new one immediately.
| author | Karl Heuer <kwzh@gnu.org> |
|---|---|
| date | Mon, 24 Apr 1995 22:34:27 +0000 |
| parents | c4d3218acd7e |
| children | 07eae46b8b4e |
line wrap: on
line diff
--- a/src/xterm.c Mon Apr 24 22:13:00 1995 +0000 +++ b/src/xterm.c Mon Apr 24 22:34:27 1995 +0000 @@ -5626,6 +5626,11 @@ init_kboard (dpyinfo->kboard); dpyinfo->kboard->next_kboard = all_kboards; all_kboards = dpyinfo->kboard; + /* Don't let the initial kboard remain current longer than necessary. + That would cause problems if a file loaded on startup tries to + prompt in the minibuffer. */ + if (current_kboard == initial_kboard) + current_kboard = dpyinfo->kboard; } dpyinfo->kboard->reference_count++; }
