Small elisp package allowing to run different functions depending on the context (major mode, buffer position, etc)