summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index ab2e6396cdb..acee2e7d73c 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2623,6 +2623,7 @@ and (2) it puts less data in the undo list.")
if (same_at_start == ZV)
{
close (fd);
+ specpdl_ptr = specpdl + count;
goto handled;
}
immediate_quit = 1;