yas--modes-to-activate function:
  When the string `-derived-mode-parent' is in `.yas-parents' file,
  exclude the mode from which the current major mode is derived in the
  search path of snippets.