Skip to content

frame-parameter buffer-list is being overwritten too early on Emacs 31 #64

@shipmints

Description

@shipmints

Emacs 31 is coming with a tab-bar change (that I wrote! that interferes with bufferlo). tab-bar-tab-post-open-functions are now called when tab-bar-tabs-function bound to tab-bar-tabs is called on a new frame. It was an oversight that the first tab created never got the callback and that was rectified.

tab-bar-tab-post-open-functions are called before after-make-frame-functions and the selected frame during that initial call is not the new frame, but the old frame. bufferlo--tab-include-exclude-buffers assumes the selected frame is the correct one and calls bufferlo--include-exclude-buffers with a nil argument and that interferes with the originating tab's buffer-list.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions