copying: let a copy command break a chain of cut or zap commands

This fixes the second part of https://savannah.gnu.org/bugs/?56261.

Bug existed since zapping was introduced, in version 3.2.
master
Benno Schulenberg 2019-05-03 12:24:48 +02:00
parent e0c5c589ad
commit a962bceca6
1 changed files with 2 additions and 0 deletions

View File

@ -420,6 +420,8 @@ void do_copy_text(void)
openfile->current_x = is_current_x;
} else
focusing = FALSE;
openfile->last_action = OTHER;
}
/* Cut from the current cursor position to the end of the file. */