Fix a recent documentation change

* lisp/progmodes/xref.el (xref-auto-jump-to-first-definition)
(xref-auto-jump-to-first-xref):
* etc/NEWS: Fix wording and typos.
This commit is contained in:
Eli Zaretskii 2021-09-07 18:44:26 +03:00
parent 31db28b1bb
commit 11b56fa0b4
2 changed files with 6 additions and 6 deletions

View file

@ -2309,16 +2309,16 @@ before navigating to the selected location.
+++
*** New user options to automatically show the first Xref match.
The new user option 'xref-auto-jump-to-first-definition' controls the
behavior of 'xref-find-definitions' and related commands, like
'xref-find-definitions-other-windo': if it's t or 'show', the first
behavior of 'xref-find-definitions' and its variants, like
'xref-find-definitions-other-window': if it's t or 'show', the first
match is automatically displayed; if it's 'move', point in the
"*xref*" buffer is automatically moved to the first match without
displaying it.
The new user option 'xref-auto-jump-to-first-xref' changes the
behavior of Xref commands such as 'xref-find-references',
'xref-find-apropos', and 'project-find-regexp', which are expected to
display many match that the user would like to
visit. 'xref-auto-jump-to-first-xref' changes their behavior muuch in
display many matches that the user would like to
visit. 'xref-auto-jump-to-first-xref' changes their behavior much in
the same way as 'xref-auto-jump-to-first-definition' affects the
"find-definitions" commands.

View file

@ -421,7 +421,7 @@ elements is negated: these commands will NOT prompt."
`show' means to show the first result's location, but keep the
focus on the Xref buffer's window.
`move' means to only move point to the first result.
This variable also affects commands similar to `xref-find-definitions',
This variable also affects the variants of `xref-find-definitions',
such as `xref-find-definitions-other-window'."
:type '(choice (const :tag "Jump" t)
(const :tag "Show" show)
@ -435,7 +435,7 @@ such as `xref-find-definitions-other-window'."
`show' means to show the first result's location, but keep the
focus on the Xref buffer's window.
`move' means to only move point to the first result.
This variable also affects commands similar to `xref-find-definitions',
This variable also affects commands similar to `xref-find-references',
such as `xref-find-references-at-mouse', `xref-find-apropos',
and `project-find-regexp'.