emacs-devel
[Top][All Lists]
Advanced

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

Re: BUFFER_SWITCH_EVENT


From: Eli Zaretskii
Subject: Re: BUFFER_SWITCH_EVENT
Date: Tue, 25 Sep 2018 22:05:43 +0300

> From: Stefan Monnier <address@hidden>
> Date: Tue, 25 Sep 2018 14:14:26 -0400
> Cc: address@hidden
> 
> -           if (fix_current_buffer)
> -             {
> -               if (! FRAME_LIVE_P (XFRAME (selected_frame)))
> -                 Fkill_emacs (Qnil);
> -               if (XBUFFER (XWINDOW (selected_window)->contents)
> -                   != current_buffer)
> -                 Fset_buffer (XWINDOW (selected_window)->contents);
> -             }

This part restores the current buffer from the selected-window's
buffer.  With it deleted, what if a process filter or a timer switches
buffers while we are processing a key sequence?



reply via email to

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