aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 09166b17cfb..895bb2b32e8 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1459,7 +1459,16 @@ with SIGHUP. */)
1459 unlock_buffer (b); 1459 unlock_buffer (b);
1460#endif /* CLASH_DETECTION */ 1460#endif /* CLASH_DETECTION */
1461 1461
1462 GCPRO1 (buf);
1462 kill_buffer_processes (buf); 1463 kill_buffer_processes (buf);
1464 UNGCPRO;
1465
1466 /* Killing buffer processes may run sentinels which may
1467 have called kill-buffer. */
1468
1469 if (NILP (b->name))
1470 return Qnil;
1471
1463 clear_charpos_cache (b); 1472 clear_charpos_cache (b);
1464 1473
1465 tem = Vinhibit_quit; 1474 tem = Vinhibit_quit;