Don't attempt el-doc without a session

When there is no session available, and eldoc was activated, there would be an
error message reported by eldoc complaining of a wrong type.  The error was
being caused by there being no tooling session.