aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emacs-lisp/find-func.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/find-func.el b/lisp/emacs-lisp/find-func.el
index 0a2717dfc67..c5116fc1ba9 100644
--- a/lisp/emacs-lisp/find-func.el
+++ b/lisp/emacs-lisp/find-func.el
@@ -626,14 +626,17 @@ Set mark before moving, if the buffer already existed."
626 626
627;;;###autoload 627;;;###autoload
628(defun find-function (function) 628(defun find-function (function)
629 "Find the definition of the FUNCTION near point. 629 "Find the definition of the Emacs Lisp FUNCTION near point.
630 630
631Finds the source file containing the definition of the function 631Finds the source file containing the definition of the function
632near point (selected by `function-called-at-point') in a buffer and 632near point (selected by `function-called-at-point') in a buffer and
633places point before the definition. 633places point before the definition.
634Set mark before moving, if the buffer already existed. 634Set mark before moving, if the buffer already existed.
635 635
636See also `find-function-recenter-line' and `find-function-after-hook'." 636See also `find-function-recenter-line' and `find-function-after-hook'.
637
638Use \\[xref-find-definitions] to find definitions of functions and variables
639that are not part of Emacs."
637 (interactive (find-function-read)) 640 (interactive (find-function-read))
638 (find-function-do-it function nil 'switch-to-buffer)) 641 (find-function-do-it function nil 'switch-to-buffer))
639 642