speedbar-before-visiting-tag-hook is a variable defined in `speedbar.el'.
Its value is
(push-mark)
This variable may be risky if used as a file-local variable.
Documentation:
Hooks run before speedbar visits a tag in the selected frame.
The default buffer is the buffer in the selected window in the attached frame.
You can customize this variable.