Elisp manual: Mention 'write-region' for saving the buffer
* doc/emacs/files.texi (Save Commands): Mention 'write-region'. (Bug#67313)
This commit is contained in:
parent
4774a3abb4
commit
f6a06ed6c5
1 changed files with 4 additions and 0 deletions
|
@ -547,6 +547,10 @@ buffer name with the buffer's default directory (@pxref{File Names}).
|
|||
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}
|
||||
|
||||
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
|
||||
notifies you of this fact, because it probably indicates a problem caused
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue