diff options
Diffstat (limited to 'src/fileio.c')
| -rw-r--r-- | src/fileio.c | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/fileio.c b/src/fileio.c index ad2d210530d..b1b555fafc4 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -5539,7 +5539,16 @@ A non-nil CURRENT-ONLY argument means save only current buffer. */) | |||
| 5539 | Lisp_Object lispstream; | 5539 | Lisp_Object lispstream; |
| 5540 | int count = specpdl_ptr - specpdl; | 5540 | int count = specpdl_ptr - specpdl; |
| 5541 | int orig_minibuffer_auto_raise = minibuffer_auto_raise; | 5541 | int orig_minibuffer_auto_raise = minibuffer_auto_raise; |
| 5542 | int message_p = push_message (); | 5542 | int message_p = 0; |
| 5543 | |||
| 5544 | if (max_specpdl_size < specpdl_size + 40) | ||
| 5545 | max_specpdl_size = specpdl_size + 40; | ||
| 5546 | |||
| 5547 | if (minibuf_level) | ||
| 5548 | no_message = Qt; | ||
| 5549 | |||
| 5550 | if (NILP (no_message)); | ||
| 5551 | message_p = push_message (); | ||
| 5543 | 5552 | ||
| 5544 | /* Ordinarily don't quit within this function, | 5553 | /* Ordinarily don't quit within this function, |
| 5545 | but don't make it impossible to quit (in case we get hung in I/O). */ | 5554 | but don't make it impossible to quit (in case we get hung in I/O). */ |
| @@ -5549,9 +5558,6 @@ A non-nil CURRENT-ONLY argument means save only current buffer. */) | |||
| 5549 | /* No GCPRO needed, because (when it matters) all Lisp_Object variables | 5558 | /* No GCPRO needed, because (when it matters) all Lisp_Object variables |
| 5550 | point to non-strings reached from Vbuffer_alist. */ | 5559 | point to non-strings reached from Vbuffer_alist. */ |
| 5551 | 5560 | ||
| 5552 | if (minibuf_level) | ||
| 5553 | no_message = Qt; | ||
| 5554 | |||
| 5555 | if (!NILP (Vrun_hooks)) | 5561 | if (!NILP (Vrun_hooks)) |
| 5556 | call1 (Vrun_hooks, intern ("auto-save-hook")); | 5562 | call1 (Vrun_hooks, intern ("auto-save-hook")); |
| 5557 | 5563 | ||