Skip to content

Suggestion: :update-query property #847

@tkf

Description

@tkf

When Emacs library changes slots in defstruct or defclass, reloading the library causes problem because accessing the old object using new accessor raises an error. If the library offers a function to close its resources (defstruct or defclass objects), possibly asking user whether or not to save the resources, I think calling that function before updating the library is a simple to solve this problem. To make it possible, I suggest adding :update-query (like kill-buffer-query-functions) property in the recipe property. What do you think?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions