aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2025-05-22 09:43:45 +0300
committerEli Zaretskii2025-05-22 09:43:45 +0300
commitb8f24cbdbb0db2c8cfc89f103f9de8e5087f9d9f (patch)
treeb462df3bee12cca471108f8b2f405c91f14d1ce8
parente0c6f3e765684a7f6d93702ad3ca4abe2b802579 (diff)
downloademacs-b8f24cbdbb0db2c8cfc89f103f9de8e5087f9d9f.tar.gz
emacs-b8f24cbdbb0db2c8cfc89f103f9de8e5087f9d9f.zip
; * lisp/emacs-lisp/find-func.el (find-function): Doc fix.
-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