mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
; Fix some recently added docs.
This commit is contained in:
parent
bc965039cd
commit
e630bc4fd7
|
|
@ -2802,12 +2802,12 @@ mode binds the command to @kbd{C-mouse-1}.
|
|||
@kindex M-g .
|
||||
@kindex M-g M-.
|
||||
@findex xref-find-by-kind
|
||||
@kbd{M-'} finds all definitions of a certain kind for the identifier
|
||||
at point. First it prompts to choose the kind using a key character,
|
||||
from the available set that is returned by the current backend
|
||||
(@pxref{Xref}). Then it either uses the identifier at point or prompts
|
||||
for it if none found or the command was invoked with a prefix argument.
|
||||
(If you want it to always prompt, customize
|
||||
@kbd{M-g .} (or @kbd{M-g M-.}) finds all definitions of a certain kind
|
||||
for the identifier at point. First it prompts to choose the kind using
|
||||
a key character, from the available set that is returned by the current
|
||||
backend (@pxref{Xref}). Then it either uses the identifier at point or
|
||||
prompts for it if none found or the command was invoked with a prefix
|
||||
argument. (If you want it to always prompt, customize
|
||||
@code{xref-prompt-for-identifier}.) The list of supported kinds depends
|
||||
on the backend, which are advised to use mnemonic keys and common sense.
|
||||
For example, the Emacs Lisp mode has ``variable'', ``function alias''
|
||||
|
|
|
|||
8
etc/NEWS
8
etc/NEWS
|
|
@ -291,9 +291,11 @@ It is bound to 'M-o'.
|
|||
|
||||
** Xref
|
||||
|
||||
+++ New command 'xref-find-by-kind'.
|
||||
It allows you to jump to a specific kind of definition. The available
|
||||
kinds are defined by the backend. It is bound to 'M-g .' and 'M-g M-.'.
|
||||
+++
|
||||
*** New command 'M-g .'/'M-g M-.' ('xref-find-by-kind').
|
||||
This command allows you to jump to a specific kind of definition, such
|
||||
as a variable definition, instead of the function of the same name.
|
||||
The xref backend defines what kinds of definition are available.
|
||||
|
||||
** CPerl mode
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue