From a6e9c26c8f4b0624708f24589e3b0c8097f2c207 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 1 Dec 2023 10:36:55 +0200 Subject: [PATCH] ; * doc/emacs/files.texi (Save Commands): Fix last change. --- doc/emacs/files.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index f0160c692da..3a120a5275a 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi @@ -548,8 +548,8 @@ to that major mode, in most cases. The command @code{set-visited-file-name} also does this. @xref{Choosing Modes}. If you wish to save the current buffer to a different file without -visiting it, use @code{mark-whole-buffer} (@kbd C-x h), then @kbd{M-x -write-region} (@pxref{Misc File Ops} +visiting that file, use @code{mark-whole-buffer} (@kbd{C-x h}), then +@w{@kbd{M-x write-region}} (@pxref{Misc File Ops}). If Emacs is about to save a file and sees that the date of the latest version on disk does not match what Emacs last read or wrote, Emacs -- 2.39.2