; Improve wording of recently-changed doc strings.
* lisp/simple.el (auto-save-mode): * lisp/files.el (auto-save-visited-mode): Improve wording of the doc strings.
This commit is contained in:
parent
3442de2edd
commit
115261b323
2 changed files with 15 additions and 14 deletions
|
@ -419,14 +419,15 @@ idle for `auto-save-visited-interval' seconds."
|
||||||
(timer-set-idle-time auto-save--timer value :repeat))))
|
(timer-set-idle-time auto-save--timer value :repeat))))
|
||||||
|
|
||||||
(define-minor-mode auto-save-visited-mode
|
(define-minor-mode auto-save-visited-mode
|
||||||
"Toggle automatic saving to file-visiting buffers on or off.
|
"Toggle automatic saving of file-visiting buffers to their files.
|
||||||
|
|
||||||
When this mode is enabled, visited files are saved automatically.
|
When this mode is enabled, file-visiting buffers are automatically
|
||||||
The user option `auto-save-visited-interval' controls how often.
|
saved to their files. This is in contrast to `auto-save-mode', which
|
||||||
|
auto-saves those buffers to a separate file, leaving the original
|
||||||
|
file intact. See Info node `Saving' for details of the save process.
|
||||||
|
|
||||||
Unlike `auto-save-mode', this mode will auto-save buffer contents
|
The user option `auto-save-visited-interval' controls how often to
|
||||||
to the visited files directly and will also run all save-related
|
auto-save a buffer into its visited file.
|
||||||
hooks. See Info node `Saving' for details of the save process.
|
|
||||||
|
|
||||||
You can also set the buffer-local value of the variable
|
You can also set the buffer-local value of the variable
|
||||||
`auto-save-visited-mode' to nil. A buffer where the buffer-local
|
`auto-save-visited-mode' to nil. A buffer where the buffer-local
|
||||||
|
|
|
@ -8400,15 +8400,15 @@ presented."
|
||||||
(define-minor-mode auto-save-mode
|
(define-minor-mode auto-save-mode
|
||||||
"Toggle auto-saving in the current buffer (Auto Save mode).
|
"Toggle auto-saving in the current buffer (Auto Save mode).
|
||||||
|
|
||||||
When this mode is enabled, Emacs periodically saves each visited
|
When this mode is enabled, Emacs periodically saves each file-visiting
|
||||||
file in a separate file called the \"auto-save file\". This is a
|
buffer in a separate \"auto-save file\". This is a safety measure to
|
||||||
safety measure to prevent you from losing more than a limited
|
prevent you from losing more than a limited amount of work if the
|
||||||
amount of work if the system crashes.
|
system crashes.
|
||||||
|
|
||||||
Auto-saving does not alter the file you actually use: the visited
|
Auto-saving does not alter the file visited by the buffer: the visited
|
||||||
file is changed only when you request saving it explicitly (such
|
file is changed only when you request saving it explicitly (such as
|
||||||
as with \\[save-buffer]). If you want to save visited files
|
with \\[save-buffer]). If you want to save the buffer into its
|
||||||
automatically, use \\[auto-save-visited-mode]).
|
visited files automatically, use \\[auto-save-visited-mode]).
|
||||||
|
|
||||||
For more details, see Info node `(emacs) Auto Save'."
|
For more details, see Info node `(emacs) Auto Save'."
|
||||||
:variable ((and buffer-auto-save-file-name
|
:variable ((and buffer-auto-save-file-name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue