From f7103cfdf15353b512338238714a440f97c2f305 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Sun, 31 Aug 2025 01:43:58 +0200 Subject: docs: Fix typos --- docs/magit.org | 4 ++-- docs/magit.texi | 6 +++--- lisp/magit-diff.el | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/magit.org b/docs/magit.org index 71815e9..7f0d80d 100644 --- a/docs/magit.org +++ b/docs/magit.org @@ -4085,12 +4085,12 @@ These commands can only be used when point is inside a diff. and unstaged changes ~magit-diff-visit-file~ always visits the file in the working tree. -- Key: C- (magit-diff-visit-file-worktree) :: +- Key: C- (magit-diff-visit-worktree-file) :: This command visits the worktree version of the appropriate file. The location of point inside the diff determines which file is being visited. Unlike ~magit-diff-visit-file~ it always visits the "real" - file in the working tree, i.e the "current version" of the file. + file in the working tree, i.e., the "current version" of the file. In the file-visiting buffer this command goes to the line that corresponds to the line that point is on in the diff. Lines that diff --git a/docs/magit.texi b/docs/magit.texi index da32db6..5582b4a 100644 --- a/docs/magit.texi +++ b/docs/magit.texi @@ -4811,13 +4811,13 @@ the working tree. @end defopt @table @asis -@item @kbd{C-} (@code{magit-diff-visit-file-worktree}) +@item @kbd{C-} (@code{magit-diff-visit-worktree-file}) @kindex C- -@findex magit-diff-visit-file-worktree +@findex magit-diff-visit-worktree-file This command visits the worktree version of the appropriate file. The location of point inside the diff determines which file is being visited. Unlike @code{magit-diff-visit-file} it always visits the "real" -file in the working tree, i.e the "current version" of the file. +file in the working tree, i.e., the "current version" of the file. In the file-visiting buffer this command goes to the line that corresponds to the line that point is on in the diff. Lines that diff --git a/lisp/magit-diff.el b/lisp/magit-diff.el index d614f21..a4db223 100644 --- a/lisp/magit-diff.el +++ b/lisp/magit-diff.el @@ -1644,7 +1644,7 @@ Visit the worktree version of the appropriate file. The location of point inside the diff determines which file is being visited. Unlike `magit-diff-visit-file' always visits the \"real\" file in -the working tree, i.e the \"current version\" of the file. +the working tree, i.e., the \"current version\" of the file. In the file-visiting buffer also go to the line that corresponds to the line that point is on in the diff. Lines that were added -- cgit v1.0