diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/fileio.c b/src/fileio.c index e24dca08306..a26e8010f7f 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3410,7 +3410,8 @@ This is all buffers that have auto-saving enabled\n\ | |||
| 3410 | and are changed since last auto-saved.\n\ | 3410 | and are changed since last auto-saved.\n\ |
| 3411 | Auto-saving writes the buffer into a file\n\ | 3411 | Auto-saving writes the buffer into a file\n\ |
| 3412 | so that your editing is not lost if the system crashes.\n\ | 3412 | so that your editing is not lost if the system crashes.\n\ |
| 3413 | This file is not the file you visited; that changes only when you save.\n\n\ | 3413 | This file is not the file you visited; that changes only when you save.\n\ |
| 3414 | Normally we run the normal hook `auto-save-hook' before saving.\n\n\ | ||
| 3414 | Non-nil first argument means do not print any message if successful.\n\ | 3415 | Non-nil first argument means do not print any message if successful.\n\ |
| 3415 | Non-nil second argument means save only current buffer.") | 3416 | Non-nil second argument means save only current buffer.") |
| 3416 | (no_message, current_only) | 3417 | (no_message, current_only) |
| @@ -3437,8 +3438,6 @@ Non-nil second argument means save only current buffer.") | |||
| 3437 | if (minibuf_level) | 3438 | if (minibuf_level) |
| 3438 | no_message = Qt; | 3439 | no_message = Qt; |
| 3439 | 3440 | ||
| 3440 | /* Vrun_hooks is nil before emacs is dumped, and inc-vers.el will | ||
| 3441 | eventually call do-auto-save, so don't err here in that case. */ | ||
| 3442 | if (!NILP (Vrun_hooks)) | 3441 | if (!NILP (Vrun_hooks)) |
| 3443 | call1 (Vrun_hooks, intern ("auto-save-hook")); | 3442 | call1 (Vrun_hooks, intern ("auto-save-hook")); |
| 3444 | 3443 | ||