I want to make it so that I have interactive functions that can only be called from buffers in a certain directory, like variables in `.dir-locals.el`. Is there a way to do this?