emacs-devel
[Top][All Lists]
Advanced

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

Re: Killing a frame sometimes kills emacs


From: Stefan Monnier
Subject: Re: Killing a frame sometimes kills emacs
Date: Wed, 12 Oct 2011 08:57:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

> I commente 3 lines as indicated below:

> --8<---------------cut here---------------start------------->8---
>     /* If needed, delete the terminal that this frame was on.
>        (This must be done after the frame is killed.) */
>     terminal->reference_count--;
>     if (terminal->reference_count == 0)
>       {
>       // Lisp_Object tmp;
>       // XSETTERMINAL (tmp, terminal);

>         kb = NULL;
>       // Fdelete_terminal (tmp, NILP (force) ? Qt : force);
>       }
>     else
>       kb = terminal->kboard;
> --8<---------------cut here---------------end--------------->8---

> I'm not sure if keeping the "kb = NULL;" was correct, though.  If you
> want, I can try again with the complete then block commented.

I'd suggest to only comment out the "terminal->reference_count--;".


        Stefan



reply via email to

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