[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac: Don't quit Emacs when window is closed

From: Philipp Stephani
Subject: Re: Mac: Don't quit Emacs when window is closed
Date: Mon, 18 Jan 2016 18:03:39 +0000

Barry Margolin <> schrieb am Mo., 18. Jan. 2016 um
18:10 Uhr:

> In article <>,
>  Random832 <> wrote:
> > Marcin Borkowski <> writes:
> > > Would this help a bit?
> > >
> > > (setq confirm-kill-emacs #'yes-or-no-p)
> >
> > The wider issue is that people expect to be able to close all windows
> > and keep an app open (the menu remains open).
> It's perfectly normal and expected for Mac applications, which is one of
> the reasons why the Mac menu bar is attached to the screen, not
> individual windows. Some single-window applications automatically quit
> when you close that window, but this would be unusual for multi-window
> applications.
Basically, Emacs should run the equivalent of (delete-frame nil :force)
when closing its window on OS X, not kill-emacs. When clicking the dock
icon without a frame present, a new one should be created with e.g.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]