(read_minibuf): Don't redirect focus unless minibuf is on another frame.
This commit is contained in:
parent
92fddec9eb
commit
0abbff134f
1 changed files with 2 additions and 1 deletions
|
@ -215,7 +215,8 @@ read_minibuf (map, initial, prompt, backup_n, expflag, histvar, histpos)
|
|||
}
|
||||
|
||||
#ifdef MULTI_FRAME
|
||||
Fredirect_frame_focus (Fselected_frame (), mini_frame);
|
||||
if (XFRAME (mini_frame) != selected_frame)
|
||||
Fredirect_frame_focus (Fselected_frame (), mini_frame);
|
||||
#endif
|
||||
Fmake_local_variable (Qprint_escape_newlines);
|
||||
print_escape_newlines = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue