Commit 0abbff13 authored by Karl Heuer's avatar Karl Heuer
Browse files

(read_minibuf): Don't redirect focus unless minibuf is on another frame.

parent 92fddec9
......@@ -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;
......
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