From: Eli Zaretskii Date: Fri, 1 Dec 2023 08:36:55 +0000 (+0200) Subject: ; * doc/emacs/files.texi (Save Commands): Fix last change. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a6e9c26c8f4b0624708f24589e3b0c8097f2c207;p=emacs.git ; * doc/emacs/files.texi (Save Commands): Fix last change. --- 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