You should probably use `when` here instead of `if`. I'm also not sure what you're trying to do in the condition. If you're trying to enable `gtags-mode` I guess it should be `(and (boundp 'gtags-mode) (gtags-mode))`.