diff options
author | Eli Zaretskii <eliz@gnu.org> | 2022-05-10 16:06:10 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2022-05-10 16:06:10 +0300 |
commit | 68dd94448f0b46cced59c7fe33f77f74ddf656ad (patch) | |
tree | 33af0830ff2746c8c4037a0e99ee016e853e5e24 /src/fileio.c | |
parent | 000f13a2bc60428bf02157956b22ba23570b0725 (diff) | |
download | emacs-68dd94448f0b46cced59c7fe33f77f74ddf656ad.tar.gz |
; Fix recent documentation changes
* src/fileio.c (Fdo_auto_save):
* src/buffer.c (Fbuffer_modified_p, Frestore_buffer_modified_p):
* doc/lispref/buffers.texi (Buffer Modification): Improve
documentation of 'do-auto-save', 'buffer-modified-p' and
'restore-buffer-modified-p'.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/fileio.c b/src/fileio.c index 9da14c8f541..094516bfef5 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -5972,13 +5972,15 @@ do_auto_save_eh (Lisp_Object ignore) DEFUN ("do-auto-save", Fdo_auto_save, Sdo_auto_save, 0, 2, "", doc: /* Auto-save all buffers that need it. -This is all buffers that have auto-saving enabled and are changed -since last auto-saved. +This auto-saves all buffers that have auto-saving enabled and +were changed since last auto-saved. -Auto-saving writes the buffer into a file so that your editing is not -lost if the system crashes. +Auto-saving writes the buffer into a file so that your edits are +not lost if the system crashes. + +The auto-save file is not the file you visited; that changes only +when you save. -This file is not the file you visited; that changes only when you save. Normally, run the normal hook `auto-save-hook' before saving. A non-nil NO-MESSAGE argument means do not print any message if successful. |