aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index fe4deb1fd32..04962eee1df 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -3004,6 +3004,12 @@ Non-nil second argument means save only current buffer.")
3004 char *omessage = echo_area_glyphs; 3004 char *omessage = echo_area_glyphs;
3005 extern int minibuf_level; 3005 extern int minibuf_level;
3006 int do_handled_files; 3006 int do_handled_files;
3007 Lisp_Object oquit;
3008
3009 /* Ordinarily don't quit within this function,
3010 but don't make it impossible to quit (in case we get hung in I/O). */
3011 oquit = Vquit_flag;
3012 Vquit_flag = Qnil;
3007 3013
3008 /* No GCPRO needed, because (when it matters) all Lisp_Object variables 3014 /* No GCPRO needed, because (when it matters) all Lisp_Object variables
3009 point to non-strings reached from Vbuffer_alist. */ 3015 point to non-strings reached from Vbuffer_alist. */
@@ -3078,6 +3084,8 @@ Non-nil second argument means save only current buffer.")
3078 if (auto_saved && NILP (no_message)) 3084 if (auto_saved && NILP (no_message))
3079 message1 (omessage ? omessage : "Auto-saving...done"); 3085 message1 (omessage ? omessage : "Auto-saving...done");
3080 3086
3087 Vquit_flag = oquit;
3088
3081 auto_saving = 0; 3089 auto_saving = 0;
3082 return Qnil; 3090 return Qnil;
3083} 3091}