Skip to content

Commit

Permalink
Fix a recent documentation change
Browse files Browse the repository at this point in the history
* lisp/progmodes/xref.el (xref-auto-jump-to-first-definition)
(xref-auto-jump-to-first-xref):
* etc/NEWS: Fix wording and typos.
  • Loading branch information
Eli-Zaretskii committed Sep 7, 2021
1 parent 31db28b commit 11b56fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions etc/NEWS
Expand Up @@ -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.

Expand Down
4 changes: 2 additions & 2 deletions lisp/progmodes/xref.el
Expand Up @@ -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)
Expand All @@ -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'.
Expand Down

0 comments on commit 11b56fa

Please sign in to comment.