speedbar-ignored-modes

speedbar-ignored-modes is a variable defined in `speedbar.el'.
Its value is
(fundamental-mode)


Documentation:
List of major modes which speedbar will not switch directories for.

You can customize this variable.