1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-28 17:22:48 -07:00

; Fix documentation of a recent change

* doc/emacs/vc1-xtra.texi (VC Auto-Reverting): Fix wording and
cross-references.
* doc/emacs/emacs.texi (Top): Update @detailmenu.
This commit is contained in:
Eli Zaretskii 2025-07-13 19:51:23 +03:00
parent 85159f1dd0
commit 1e3d76af5a
2 changed files with 8 additions and 6 deletions

View file

@ -869,7 +869,9 @@ Miscellaneous Commands and Features of VC
* VC Delete/Rename:: Deleting and renaming version-controlled files.
* Revision Tags:: Symbolic names for revisions.
* Version Headers:: Inserting version control headers into working files.
* Editing VC Commands:: Editing the VC shell commands that Emacs will run.
* Editing VC Commands:: Editing the VC shell commands that Emacs will run.
* Preparing Patches:: Preparing and composing patches from within VC.
* VC Auto-Reverting:: Updating buffer contents after VCS operations.
Customizing VC

View file

@ -323,7 +323,7 @@ emacs, the Emacs Manual}).
@end ifnottex
@node VC Auto-Reverting
@subsubsection Auto-Reverting Buffers Visiting Tracked Files
@subsubsection Auto-Reverting Buffers That Visit Tracked Files
When Emacs executes VCS operations that it knows may change the
contents of tracked files, it reverts buffers visiting those files
@ -338,16 +338,16 @@ revert buffers when you execute additional VCS operations outside of
Emacs, such as at a shell prompt, or by means of scripts. If you
regularly do this, and you don't use a VCS with keyword expansion (all
modern VCS, absent special configuration), you may wish to enable
@code{vc-auto-revert-mode} instead, by customizing that variable to
non-@code{nil}.
@code{vc-auto-revert-mode} instead, by customizing that variable to a
non-@code{nil} value.
This mode is just like @code{global-auto-revert-mode} (@pxref{Auto
Revert}) except limited to files visiting VCS-tracked files. It ensures
that Emacs will always revert buffers when VCS operations change their
contents, regardless of whether Emacs initiated those operations.
@xref{VC Mode Line} regarding Auto Revert mode in buffers visiting
tracked files (which is what @code{vc-auto-revert-mode} enables).
@xref{VC Mode Line}, for details regarding Auto Revert mode in buffers
visiting tracked files (which is what @code{vc-auto-revert-mode} enables).
@node Customizing VC
@subsection Customizing VC