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-state
at least, not sure if it is any good.