mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
; * lisp/emacs-lisp/find-func.el (find-function): Doc fix.
This commit is contained in:
parent
e0c6f3e765
commit
b8f24cbdbb
1 changed files with 5 additions and 2 deletions
|
@ -626,14 +626,17 @@ Set mark before moving, if the buffer already existed."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun find-function (function)
|
(defun find-function (function)
|
||||||
"Find the definition of the FUNCTION near point.
|
"Find the definition of the Emacs Lisp FUNCTION near point.
|
||||||
|
|
||||||
Finds the source file containing the definition of the function
|
Finds the source file containing the definition of the function
|
||||||
near point (selected by `function-called-at-point') in a buffer and
|
near point (selected by `function-called-at-point') in a buffer and
|
||||||
places point before the definition.
|
places point before the definition.
|
||||||
Set mark before moving, if the buffer already existed.
|
Set mark before moving, if the buffer already existed.
|
||||||
|
|
||||||
See also `find-function-recenter-line' and `find-function-after-hook'."
|
See also `find-function-recenter-line' and `find-function-after-hook'.
|
||||||
|
|
||||||
|
Use \\[xref-find-definitions] to find definitions of functions and variables
|
||||||
|
that are not part of Emacs."
|
||||||
(interactive (find-function-read))
|
(interactive (find-function-read))
|
||||||
(find-function-do-it function nil 'switch-to-buffer))
|
(find-function-do-it function nil 'switch-to-buffer))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue