There is buffer-local-set-state at least, not sure if it is any good.
buffer-local-set-state
Why is this downvoted?
There is
buffer-local-set-stateat least, not sure if it is any good.