Jan Vroonhof writes:
Colin Rafferty <craffert(a)ms.com> writes:
> > (setq allow-deletion-of-last-visible-frame t)
>
> Actually, this does not have any affect on the second argument to
> `delete-frame'.
Apart from rendering it useless.
Not at all. Check out the code from delete_frame_internal() in frame.c:
if (!force && !allow_deletion_of_last_visible_frame &&
!other_visible_frames_internal (f, called_from_delete_device))
error ("Attempt to delete the sole visible or iconified frame");
If `force' (the second argument to the function) is t, then we will
never get the error, and will call `save-buffers-kill-emacs.
--
Colin