aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorFederico Tedin2018-08-06 19:53:05 -0300
committerEli Zaretskii2018-08-11 12:24:04 +0300
commitc024a05e5990f0f9777ff88fffa02382b7522ccc (patch)
tree7e3046c8280c4193130a9b5bbbfe7bc011d94d43 /doc
parent33344ab911ed6933294b501cb28ff63012f7a567 (diff)
downloademacs-c024a05e5990f0f9777ff88fffa02382b7522ccc.tar.gz
emacs-c024a05e5990f0f9777ff88fffa02382b7522ccc.zip
Add variable auto-save-no-message
* src/keyboard.c (auto-save-no-message): New variable, allows suppressing auto-saving message. * lisp/cus-start.el (standard): Add 'auto-save-no-message' variable. * doc/emacs/files.texi (Auto Save): Document 'auto-save-no-message'. * etc/NEWS: Mention 'auto-save-no-message'. (Bug#31039)
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/files.texi13
1 files changed, 8 insertions, 5 deletions
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index a7cc57e4e94..c7d3b40f9d1 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1021,13 +1021,16 @@ separate file, without altering the file you actually use. This is
1021called @dfn{auto-saving}. It prevents you from losing more than a 1021called @dfn{auto-saving}. It prevents you from losing more than a
1022limited amount of work if the system crashes. 1022limited amount of work if the system crashes.
1023 1023
1024@vindex auto-save-no-message
1024 When Emacs determines that it is time for auto-saving, it considers 1025 When Emacs determines that it is time for auto-saving, it considers
1025each buffer, and each is auto-saved if auto-saving is enabled for it 1026each buffer, and each is auto-saved if auto-saving is enabled for it
1026and it has been changed since the last time it was auto-saved. The 1027and it has been changed since the last time it was auto-saved. When
1027message @samp{Auto-saving...} is displayed in the echo area during 1028the @code{auto-save-no-message} variable is set to @code{nil} (the
1028auto-saving, if any files are actually auto-saved. Errors occurring 1029default), the message @samp{Auto-saving...} is displayed in the echo
1029during auto-saving are caught so that they do not interfere with the 1030area during auto-saving, if any files are actually auto-saved; to
1030execution of commands you have been typing. 1031disable these messages, customize the variable to a non-@code{nil}
1032value. Errors occurring during auto-saving are caught so that they do
1033not interfere with the execution of commands you have been typing.
1031 1034
1032@menu 1035@menu
1033* Files: Auto Save Files. The file where auto-saved changes are 1036* Files: Auto Save Files. The file where auto-saved changes are