+2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * frame.c (Fdelete_frame): Call Fdelete_terminal.
+
2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
* buffer.c (clone_per_buffer_values, reset_buffer_local_variables)
terminal->reference_count--;
if (terminal->reference_count == 0)
{
+ Lisp_Object tmp;
+ XSETTERMINAL (tmp, terminal);
+
kb = NULL;
- if (terminal->delete_terminal_hook)
- (*terminal->delete_terminal_hook) (terminal);
- else
- delete_terminal (terminal);
+ Fdelete_terminal (tmp, NILP (force) ? Qt : force);
}
#ifdef MULTI_KBOARD
else