For all practical purposes, I find this be sufficient. (global-set-key (kbd "C-c f") (lambda () (interactive) (require 'finder) (let ((thing (intern (thing-at-point 'symbol)))) (if (functionp thing) (find-function thing) (find-variable thing)))))
Put your cursor on a variable or a function, C-c f and you are staring right at the definition of the variable or function. For this to work, the library defining the function or variable should already be loaded. --