semantic-inhibit-functions

semantic-inhibit-functions is a variable defined in `semantic.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
List of functions to call with no arguments before Semantic is setup.
If any of these functions returns non-nil, the current buffer is not
setup to use Semantic.

You can customize this variable.