Skip to content

Why disable after-make-frame-functions? #29

@gcv

Description

@gcv

posframe--create-posframe explicitly binds after-make-frame-functions to nil. This currently breaks persp-mode (perspective-el), which uses frame parameters extensively. These parameters are initialized in a hook it adds to after-make-frame-functions, but are always missing from posframe frames.

It would be a fairly large change to persp-mode to become more resilient to missing parameters, and I haven't run into problems with anything other than posframe. Is there a reason why posframe needs to avoid running frame creation hooks?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions