Function: find-function

find-function is an autoloaded, interactive and byte-compiled function defined in find-func.el.gz.

Signature

(find-function FUNCTION)

Documentation

Find the definition of the FUNCTION near point.

Finds the source file containing the definition of the function near point (selected by function-called-at-point) in a buffer and places point before the definition. Set mark before moving, if the buffer already existed.

See also find-function-recenter-line and find-function-after-hook.

Probably introduced at or before Emacs version 24.3.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/find-func.el.gz
;;;###autoload
(defun find-function (function)
  "Find the definition of the FUNCTION near point.

Finds the source file containing the definition of the function
near point (selected by `function-called-at-point') in a buffer and
places point before the definition.
Set mark before moving, if the buffer already existed.

See also `find-function-recenter-line' and `find-function-after-hook'."
  (interactive (find-function-read))
  (find-function-do-it function nil 'switch-to-buffer))