Fixed strange bug in elisp code for finding definitions.

Not sure how it snuck in.