emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 11b56fa 1/2: Fix a recent documentation change


From: Eli Zaretskii
Subject: master 11b56fa 1/2: Fix a recent documentation change
Date: Tue, 7 Sep 2021 11:45:31 -0400 (EDT)

branch: master
commit 11b56fa0b4d6245ee8312abe946266969a65fce8
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    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.
---
 etc/NEWS               | 8 ++++----
 lisp/progmodes/xref.el | 4 ++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 52a1443..2275fa4 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
 
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index f6d88e1..082da1e 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -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'.
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]