Commit d3e2acb6 authored by Andreas Politz's avatar Andreas Politz Committed by Martin Rudalics

In delete_frame record selected frame only after calling Qdelete_frame_functions (Bug#15477).

* frame.c (delete_frame): Record selected frame only after
calling Qdelete_frame_functions (Bug#15477).
parent 6cfe977d
2013-09-29 Andreas Politz <politza@hochschule-trier.de> (tiny change)
* frame.c (delete_frame): Record selected frame only after
calling Qdelete_frame_functions (Bug#15477).
2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
* nsterm.m (ns_selection_color): Remove.
......
......@@ -1190,7 +1190,7 @@ Lisp_Object
delete_frame (Lisp_Object frame, Lisp_Object force)
{
struct frame *f = decode_any_frame (frame);
struct frame *sf = SELECTED_FRAME ();
struct frame *sf;
struct kboard *kb;
int minibuffer_selected, is_tooltip_frame;
......@@ -1265,7 +1265,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force)
There is no more chance for errors to prevent it. */
minibuffer_selected = EQ (minibuf_window, selected_window);
sf = SELECTED_FRAME ();
/* Don't let the frame remain selected. */
if (f == sf)
{
......
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