[switch-in-project] Allow multiple buffer-to-project functions, to be tried in sequence