> So maybe Fdisplay_buffer should protect against it with something like the > patch below. Does it help?
Sorry about the botched patch. Try this one instead, Stefan --- window.c 13 jui 2005 13:58:39 -0400 1.512 +++ window.c 15 jui 2005 03:30:07 -0400 @@ -3475,7 +3475,13 @@ we need to create a new frame. */ if (pop_up_frames || last_nonminibuf_frame == 0) { + Lisp_Object w = Fselected_window (); + struct gcpro gcpro1; + GCPRO1 (w); window = Fframe_selected_window (call0 (Vpop_up_frame_function)); + if (Fwindow_live_p (w)) + Fselect_window (w, Qt); + UNGCPRO; Fset_window_buffer (window, buffer, Qnil); return display_buffer_1 (window); } _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel