bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#69993: Wrap window buffers while cycling


From: martin rudalics
Subject: bug#69993: Wrap window buffers while cycling
Date: Wed, 3 Apr 2024 10:24:34 +0200
User-agent: Mozilla Thunderbird

>> But then we would have to handle any call of set_window_buffer that
>> replaces a window's buffer with one that has been previously shown in
>> that window.
>
> Indeed, this is why I asked to add a new hook after set-window-buffer,
> like the hook record-window-buffer is called before set-window-buffer.

Are you sure that 'window-buffer-change-functions' can't catch this
already?  IIUC all you need is to to know whether the current buffer of
a window does not equal the value returned by 'window-old-buffer' for
that window.

martin





reply via email to

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